web - refactor core modules, harden authorization, simplify endpoints

This commit is contained in:
2026-08-29 11:15:54 +02:00
parent e1109a07ef
commit 79d857d686
71 changed files with 8269 additions and 9119 deletions
@@ -0,0 +1,357 @@
.admin-users-shell {
padding: 18px;
background: linear-gradient(135deg, var(--gray-50) 0%, var(--theme-light, var(--nak-blue-light)) 100%);
min-height: 100%;
}
.admin-table-card {
overflow: hidden;
border: 1px solid rgba(120, 140, 160, 0.22);
background: rgba(255,255,255,0.86);
box-shadow: 0 20px 45px rgba(31, 38, 46, 0.10), 0 1px 0 rgba(255,255,255,0.9) inset;
}
.admin-list-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 16px 18px 12px 18px;
border-bottom: 1px solid rgba(120, 140, 160, 0.16);
background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.72));
}
.admin-list-title {
font-size: 1.05em;
font-weight: 800;
color: hsl(210, 20%, 15%);
}
.admin-list-hint {
font-size: 0.86em;
color: hsl(210, 15%, 46%);
}
table.admin-user-table {
display: table !important;
width: calc(100% - 24px);
margin: 8px 12px 14px 12px;
border-collapse: separate;
border-spacing: 0 8px;
padding: 0;
background: transparent;
overflow: visible;
}
.admin-user-table thead th {
position: sticky;
top: 0;
padding: 10px 14px;
color: hsl(210, 16%, 46%);
font-size: 0.78em;
font-weight: 800;
text-align: left;
letter-spacing: 0.04em;
text-transform: uppercase;
background: transparent !important;
border: none !important;
}
.admin-user-table tbody tr.admin-user-row {
position: relative;
cursor: pointer;
background: rgba(255, 255, 255, 0.92);
box-shadow: 0 6px 18px rgba(31, 38, 46, 0.06);
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.admin-user-table tbody tr.admin-user-row:hover {
transform: translateY(-1px);
background: #FFFFFF;
box-shadow: 0 12px 26px rgba(31, 38, 46, 0.13);
}
.admin-user-table td {
padding: 12px 14px !important;
vertical-align: middle;
border: none !important;
background: transparent !important;
}
.admin-user-table tbody tr.admin-user-row td:first-child {
width: 82px;
min-width: 82px;
max-width: 82px;
}
.admin-profile-button {
display: block;
width: 58px;
height: 58px;
border-radius: 12px;
overflow: hidden;
border: 0;
padding: 0;
background: transparent;
cursor: pointer;
box-shadow: 0 8px 20px rgba(31, 38, 46, 0.18), 0 0 0 3px rgba(255,255,255,0.95);
}
.admin-profile-button img {
display: block;
width: 58px !important;
height: 58px !important;
object-fit: cover;
border-radius: 12px !important;
transition: transform 0.2s ease;
}
.admin-user-table tbody tr.admin-user-row:hover .admin-profile-button img {
transform: scale(1.08);
}
.admin-user-name {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 1em;
font-weight: 800;
color: hsl(210, 20%, 15%);
}
.bs-status-badge {
display: inline-flex;
align-items: center;
padding: 4px 10px;
font-size: 0.78em;
font-weight: 800;
}
.bs-status-ok {
color: hsl(145, 50%, 28%);
background: hsl(145, 50%, 93%);
border: 1px solid hsl(145, 50%, 82%);
}
.bs-status-warning {
color: hsl(35, 78%, 30%);
background: hsl(42, 90%, 93%);
border: 1px solid hsl(42, 90%, 78%);
}
.bs-status-overdue {
color: hsl(0, 65%, 38%);
background: hsl(0, 65%, 95%);
border: 1px solid hsl(0, 65%, 82%);
}
.bs-status-critical {
color: #FFFFFF;
background: hsl(0, 65%, 45%);
border: 1px solid hsl(0, 65%, 38%);
}
.bs-due-date {
font-size: 0.9em;
font-weight: 650;
color: hsl(210, 14%, 35%);
}
/* Modal */
.admin-modal-card {
position: relative;
width: min(720px, calc(100vw - 24px));
max-height: min(760px, calc(100vh - 24px));
overflow: auto;
padding: 0;
background: #FFFFFF;
box-shadow: 0 24px 70px rgba(0,0,0,0.36);
}
.admin-modal-hero {
position: relative;
display: grid;
grid-template-columns: 112px 1fr;
gap: 18px;
align-items: center;
padding: 24px;
color: #FFFFFF;
background:
radial-gradient(circle at 10% 0%, rgba(255,255,255,0.24), transparent 32%),
linear-gradient(135deg, hsl(25, 90%, 45%), hsl(25, 95%, 35%));
}
.admin-modal-profile-img {
width: 104px;
height: 104px;
object-fit: cover;
border-radius: 16px;
box-shadow: 0 12px 28px rgba(0,0,0,0.32), 0 0 0 4px rgba(255,255,255,0.18);
}
.admin-modal-title {
margin: 0 42px 6px 0;
font-size: 1.45em;
font-weight: 850;
color: #FFFFFF;
}
.admin-modal-subtitle {
display: flex;
flex-flow: row wrap;
gap: 8px;
align-items: center;
margin-bottom: 10px;
color: rgba(255,255,255,0.86);
font-weight: 600;
}
.admin-modal-chip {
display: inline-flex;
align-items: center;
padding: 4px 9px;
border-radius: 9999px;
background: rgba(255,255,255,0.14);
border: 1px solid rgba(255,255,255,0.18);
font-size: 0.82em;
}
.admin-modal-body {
padding: 22px 24px 24px 24px;
}
.admin-section-title {
margin: 0 0 10px 0;
font-size: 0.9em;
font-weight: 850;
letter-spacing: 0.04em;
text-transform: uppercase;
color: hsl(210, 18%, 36%);
}
.admin-modal-card .exit {
position: absolute;
top: 14px;
right: 14px;
width: 34px;
height: 34px;
border: 1px solid rgba(255,255,255,0.25);
background: rgba(255,255,255,0.16);
color: #FFFFFF;
font-size: 1.35em;
line-height: 1;
cursor: pointer;
}
.bs-detail-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-bottom: 20px;
}
.bs-detail-card {
padding: 14px 16px;
border: 1px solid hsl(210, 18%, 88%);
background: linear-gradient(180deg, #FFFFFF, hsl(210, 12%, 98%));
}
.bs-detail-label {
margin-bottom: 3px;
color: hsl(210, 14%, 46%);
font-size: 0.74em;
font-weight: 850;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.bs-detail-value {
color: hsl(210, 20%, 18%);
font-size: 1.02em;
font-weight: 850;
}
.bs-detail-value.overdue {
color: hsl(0, 65%, 42%);
}
.bs-detail-value.ok {
color: hsl(145, 50%, 32%);
}
.admin-modal-actions {
display: flex;
justify-content: space-between;
gap: 10px;
border-top: 1px solid hsl(210, 18%, 90%);
padding-top: 16px;
}
.admin-modal-actions button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 36px;
padding: 8px 13px;
border: 1px solid hsl(210, 18%, 84%);
background: #FFFFFF;
color: hsl(210, 20%, 22%);
font-size: 0.86em;
font-weight: 850;
cursor: pointer;
box-shadow: 0 4px 12px rgba(31,38,46,0.06);
}
.admin-modal-actions button:hover {
background: hsl(210, 57%, 96%);
}
.admin-save-button {
color: #FFFFFF !important;
background: linear-gradient(135deg, var(--nak-orange), hsl(25, 95%, 40%)) !important;
border-color: hsl(25, 95%, 40%) !important;
}
.bs-date-input {
padding: 10px 12px;
font-size: var(--font-size-sm);
font-family: var(--font-primary);
border: 1px solid var(--gray-300);
background: var(--gray-50);
width: 100%;
box-sizing: border-box;
font-weight: 650;
}
.bs-date-input:focus {
border-color: hsl(25, 80%, 55%);
background: #FFFFFF;
outline: none;
box-shadow: 0 0 0 4px hsla(25, 80%, 55%, 0.14);
}
@media (max-width: 780px) {
.admin-users-shell { padding: 10px; }
.admin-list-header {
flex-direction: column;
align-items: flex-start;
padding: 14px;
gap: 8px;
}
table.admin-user-table {
display: block !important;
width: auto;
margin: 8px;
}
.admin-user-table thead { display: none; }
.admin-user-table tbody {
display: grid;
gap: 10px;
}
.admin-user-table tbody tr.admin-user-row {
display: grid;
grid-template-columns: 72px minmax(0, 1fr);
gap: 0 12px;
padding: 12px;
border: 1px solid rgba(120, 140, 160, 0.16);
box-shadow: 0 8px 22px rgba(31, 38, 46, 0.08);
}
.admin-user-table tbody tr.admin-user-row td {
display: block;
padding: 0 !important;
}
.admin-user-table tbody tr.admin-user-row td:first-child {
grid-row: 1 / span 3;
width: 72px;
min-width: 72px;
max-width: 72px;
}
.admin-profile-button,
.admin-profile-button img {
width: 64px !important;
height: 64px !important;
border-radius: 12px !important;
}
.admin-modal-card {
width: calc(100vw - 12px);
max-height: calc(100dvh - 12px);
}
.admin-modal-hero {
grid-template-columns: 78px minmax(0, 1fr);
gap: 14px;
padding: 18px;
}
.admin-modal-profile-img {
width: 72px;
height: 72px;
border-radius: 14px;
}
.admin-modal-title {
font-size: 1.15em;
margin-right: 40px;
}
.admin-modal-body { padding: 18px; }
.bs-detail-grid { grid-template-columns: 1fr; }
.admin-modal-actions { flex-direction: column-reverse; }
.admin-modal-actions button { width: 100%; }
}
@@ -0,0 +1,26 @@
.login_button {
position: relative;
}
.login_button.is-loading {
color: transparent !important;
pointer-events: none;
}
.login_button.is-loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 22px;
height: 22px;
margin: -11px 0 0 -11px;
border: 3px solid rgba(255, 255, 255, 0.35);
border-top-color: #fff;
border-radius: 50%;
animation: authorization-spin 0.7s linear infinite;
}
@keyframes authorization-spin {
to { transform: rotate(360deg); }
}
@@ -0,0 +1,694 @@
/* ══════════════════════════════════════
BRANDSCHUTZ, Variables & Base
══════════════════════════════════════ */
:root {
--bs-primary: #f08200;
--bs-primary-hover: #d97400;
--bs-primary-light: #fff4e6;
--bs-primary-shadow: rgba(240,130,0,0.35);
--bs-red: #d21400;
--bs-red-light: #ffeaea;
--bs-green: #2e7d32;
--bs-green-light: #e8f5e9;
}
/* ══════════════════════════════════════
WIZARD CONTAINER
══════════════════════════════════════ */
.bs-page-wrapper {
margin-top: calc(var(--header-height) + var(--header-title-height));
min-height: calc(100vh - var(--header-height) - var(--header-title-height) - var(--footer-height));
background: linear-gradient(135deg, var(--gray-50) 0%, hsl(30, 80%, 95%) 100%);
padding: var(--space-lg) 0 var(--space-3xl);
}
.bs-wizard {
max-width: 1400px;
width: 90%;
margin: 0 auto;
background: #ffffff;
box-shadow: var(--shadow-md);
overflow: hidden;
}
/* ══════════════════════════════════════
MAIN PROGRESS BAR (Sections)
══════════════════════════════════════ */
.bs-progress {
display: flex;
align-items: center;
justify-content: center;
gap: 0;
padding: 20px 28px 16px;
background: var(--gray-50);
border-bottom: 1px solid var(--gray-200);
flex-wrap: wrap;
}
.bs-progress-step {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
flex-shrink: 0;
cursor: default;
transition: opacity 150ms;
}
.bs-progress-step:hover { opacity: 1; }
.bs-progress-circle {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
font-size: var(--font-size-sm);
font-weight: 600;
color: var(--gray-500);
background: var(--gray-200);
border: 2px solid var(--gray-300);
transition: all 250ms ease;
}
.bs-progress-step.active .bs-progress-circle {
background: var(--bs-primary);
border-color: var(--bs-primary);
color: #ffffff;
box-shadow: 0 2px 8px var(--bs-primary-shadow);
}
.bs-progress-step.done .bs-progress-circle {
background: #ffffff;
border-color: var(--bs-primary);
color: var(--bs-primary);
}
.bs-progress-label {
font-size: var(--font-size-xs);
font-weight: 500;
color: var(--gray-500);
white-space: nowrap;
transition: color 250ms ease;
max-width: 80px;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
}
.bs-progress-step.active .bs-progress-label,
.bs-progress-step.done .bs-progress-label {
color: var(--bs-primary);
}
.bs-progress-line {
flex: 1;
height: 2px;
min-width: 16px;
max-width: 50px;
background: var(--gray-300);
margin: 0 6px;
margin-bottom: 20px;
transition: background 250ms ease;
}
.bs-progress-line.done {
background: var(--bs-primary);
}
/* ══════════════════════════════════════
BODY & SECTION CONTENT
══════════════════════════════════════ */
.bs-body {
padding: 28px 32px 20px;
}
.bs-section-header {
text-align: center;
padding: 12px 20px;
background: var(--bs-primary-light);
border-bottom: 1px solid #fde0b0;
font-size: var(--font-size-sm);
font-weight: 600;
color: var(--bs-primary-hover);
letter-spacing: 0.3px;
}
.bs-chapter-title {
font-size: 1.6rem;
font-weight: 600;
color: var(--gray-900);
margin: 0 0 8px 0;
}
.bs-text {
font-size: var(--font-size-base);
color: var(--gray-800);
line-height: 1.7;
margin-bottom: 16px;
}
.bs-text strong { color: var(--gray-900); }
.bs-text a,
.bs-wizard label a {
text-decoration: none;
pointer-events: auto;
position: relative;
z-index: 1;
}
/* ══════════════════════════════════════
ACTIONS BAR
══════════════════════════════════════ */
.bs-actions {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
padding: 16px 28px 20px;
border-top: 1px solid var(--gray-200);
}
.bs-actions-left,
.bs-actions-right {
display: flex;
gap: 8px;
}
.bs-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 38px;
padding: 8px 18px;
font-size: var(--font-size-sm);
font-weight: 600;
font-family: var(--font-primary);
border: 1px solid var(--gray-300);
background: #ffffff;
color: var(--gray-800);
cursor: pointer;
transition: background 150ms ease, transform 150ms ease;
white-space: nowrap;
}
.bs-btn:hover {
background: var(--gray-100);
transform: translateY(-1px);
}
.bs-btn-primary {
background: var(--bs-primary);
border-color: var(--bs-primary);
color: #ffffff;
}
.bs-btn-primary:hover {
background: var(--bs-primary-hover);
border-color: var(--bs-primary-hover);
}
.bs-btn-locked {
opacity: 0.4;
pointer-events: none;
cursor: not-allowed;
}
.bs-btn-check-disabled {
opacity: 0.4;
pointer-events: none;
}
.bs-btn-success {
background: var(--bs-green);
border-color: var(--bs-green);
color: #ffffff;
}
.bs-btn-success:hover {
background: var(--bs-green);
border-color: var(--bs-green);
transform: none;
}
.bs-btn-success.bs-btn-check-disabled {
opacity: 1;
}
.bs-btn-failed {
background: var(--bs-red);
border-color: var(--bs-red);
color: #ffffff;
}
.bs-btn-failed.bs-btn-check-disabled {
opacity: 1;
}
.bs-quiz-btn-group {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
margin-top: 20px;
}
/* ══════════════════════════════════════
INFO BOX / TIP BOX / WARNING BOX
══════════════════════════════════════ */
.bs-infobox {
padding: 16px 20px;
margin: 16px 0;
border-left: 4px solid var(--bs-primary);
background: var(--bs-primary-light);
font-size: var(--font-size-sm);
color: var(--gray-800);
line-height: 1.6;
}
.bs-infobox-title {
font-weight: 600;
margin-bottom: 6px;
color: var(--bs-primary);
}
.bs-warnbox {
padding: 16px 20px;
margin: 16px 0;
border-left: 4px solid var(--bs-red);
background: var(--bs-red-light);
font-size: var(--font-size-sm);
color: var(--gray-800);
line-height: 1.6;
}
.bs-warnbox-title {
font-weight: 600;
margin-bottom: 6px;
color: var(--bs-red);
}
.bs-successbox {
padding: 16px 20px;
margin: 16px 0;
border-left: 4px solid var(--bs-green);
background: var(--bs-green-light);
font-size: var(--font-size-sm);
color: var(--gray-800);
line-height: 1.6;
}
/* ══════════════════════════════════════
LIST STYLES
══════════════════════════════════════ */
.bs-list {
list-style: none;
padding: 0;
margin: 12px 0;
}
.bs-list li {
padding: 8px 0 8px 28px;
position: relative;
font-size: var(--font-size-sm);
color: var(--gray-800);
line-height: 1.6;
border-bottom: 1px solid var(--gray-100);
}
.bs-list li:last-child { border-bottom: none; }
.bs-list li::before {
content: '';
position: absolute;
left: 6px;
top: 14px;
width: 8px;
height: 8px;
background: var(--bs-primary);
}
.bs-list-numbered {
list-style: none;
padding: 0;
margin: 12px 0;
counter-reset: bs-counter;
}
.bs-list-numbered li {
padding: 10px 0 10px 40px;
position: relative;
font-size: var(--font-size-sm);
color: var(--gray-800);
line-height: 1.6;
border-bottom: 1px solid var(--gray-100);
counter-increment: bs-counter;
}
.bs-list-numbered li:last-child { border-bottom: none; }
.bs-list-numbered li::before {
content: counter(bs-counter);
position: absolute;
left: 0;
top: 8px;
width: 26px;
height: 26px;
background: var(--bs-primary);
color: #ffffff;
font-size: 0.75rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
}
/* ══════════════════════════════════════
QUIZ / INTERACTIVE ELEMENTS
══════════════════════════════════════ */
.bs-quiz {
margin: 20px 0;
padding: 20px;
background: var(--gray-50);
border: 1px solid var(--gray-200);
}
.bs-quiz-question {
font-size: var(--font-size-base);
font-weight: 600;
color: var(--gray-900);
margin-bottom: 14px;
line-height: 1.5;
}
.bs-quiz-options { display: flex; flex-direction: column; gap: 8px; }
.bs-quiz-option {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 14px;
background: #ffffff;
border: 2px solid var(--gray-200);
cursor: pointer;
transition: all 150ms;
font-size: var(--font-size-sm);
color: var(--gray-800);
}
.bs-quiz-option:hover { border-color: var(--bs-primary); background: var(--bs-primary-light); }
.bs-quiz-locked .bs-quiz-option { pointer-events: none; }
.bs-quiz-option.selected { border-color: var(--bs-primary); background: var(--bs-primary-light); }
.bs-quiz-option.correct { border-color: var(--bs-green); background: var(--bs-green-light); }
.bs-quiz-option.wrong { border-color: var(--bs-red); background: var(--bs-red-light); }
.bs-quiz-option input[type="checkbox"] { display: none; }
.bs-quiz-indicator {
width: 20px;
height: 20px;
border: 2px solid var(--gray-400);
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
color: transparent;
}
.bs-quiz-option.selected .bs-quiz-indicator {
border-color: var(--bs-primary);
background: var(--bs-primary);
color: #ffffff;
}
.bs-quiz-option.correct .bs-quiz-indicator {
border-color: var(--bs-green);
background: var(--bs-green);
color: #ffffff;
}
.bs-quiz-option.wrong .bs-quiz-indicator {
border-color: var(--bs-red);
background: var(--bs-red);
color: #ffffff;
}
.bs-quiz-feedback,
.bs-feedback {
margin-top: 12px;
padding: 10px 14px;
font-size: var(--font-size-sm);
font-weight: 600;
display: none;
}
.bs-quiz-feedback.show,
.bs-feedback.show { display: block; }
.bs-quiz-feedback.correct,
.bs-feedback.correct {
background: var(--bs-green-light);
color: var(--bs-green);
border-left: 4px solid var(--bs-green);
}
.bs-quiz-feedback.wrong,
.bs-feedback.wrong {
background: var(--bs-red-light);
color: var(--bs-red);
border-left: 4px solid var(--bs-red);
}
/* ══════════════════════════════════════
DROPDOWN MATCHING
══════════════════════════════════════ */
.bs-dropdown-match { margin: 16px 0; }
.bs-dropdown-match-row {
display: flex;
align-items: center;
gap: 16px;
padding: 12px 16px;
background: #ffffff;
border: 2px solid var(--gray-200);
margin-bottom: 8px;
transition: border-color 150ms;
}
.bs-dropdown-match-row.correct { border-color: var(--bs-green); background: var(--bs-green-light); }
.bs-dropdown-match-row.wrong { border-color: var(--bs-red); background: var(--bs-red-light); }
.bs-dropdown-match-label { flex: 1; font-weight: 600; color: var(--gray-800); }
.bs-dropdown-match-select {
padding: 8px 12px;
border: 2px solid var(--gray-200);
font-size: var(--font-size-sm);
color: var(--gray-800);
background: #fff;
min-width: 200px;
}
.bs-dropdown-match-select:focus { border-color: var(--bs-primary); outline: none; }
/* ══════════════════════════════════════
SCENARIO CARD
══════════════════════════════════════ */
.bs-scenario {
margin: 20px 0;
border: 1px solid var(--gray-200);
overflow: hidden;
}
.bs-scenario-header {
padding: 14px 20px;
background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-hover));
color: #ffffff;
font-weight: 600;
font-size: var(--font-size-sm);
}
.bs-scenario-body {
padding: 20px;
}
.bs-scenario-text {
font-size: var(--font-size-sm);
color: var(--gray-800);
line-height: 1.6;
margin-bottom: 16px;
font-style: italic;
}
/* ══════════════════════════════════════
CHECKLIST
══════════════════════════════════════ */
.bs-checklist { list-style: none; padding: 0; margin: 16px 0; }
.bs-checklist li {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px 0;
border-bottom: 1px solid var(--gray-100);
font-size: var(--font-size-sm);
color: var(--gray-800);
cursor: pointer;
}
.bs-checklist li:last-child { border-bottom: none; }
.bs-check-box {
width: 22px;
height: 22px;
border: 2px solid var(--gray-300);
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
color: transparent;
transition: all 150ms;
margin-top: 1px;
}
.bs-checklist li.checked .bs-check-box {
border-color: var(--bs-green);
background: var(--bs-green);
color: #ffffff;
}
.bs-checklist li.checked { color: var(--gray-500); }
/* ══════════════════════════════════════
FILL-IN-THE-BLANK
══════════════════════════════════════ */
.bs-fill-input {
display: inline-block;
border: none;
border-bottom: 2px solid var(--bs-primary);
background: transparent;
font-family: var(--font-primary);
font-size: var(--font-size-sm);
font-weight: 600;
color: var(--gray-900);
padding: 2px 6px;
width: 120px;
outline: none;
transition: border-color 200ms;
}
.bs-fill-input:focus { border-color: var(--bs-primary-hover); }
.bs-fill-input.correct { border-color: var(--bs-green); color: var(--bs-green); }
.bs-fill-input.wrong { border-color: var(--bs-red); color: var(--bs-red); }
/* ══════════════════════════════════════
ACCORDION / EXPANDABLE
══════════════════════════════════════ */
.bs-accordion {
margin: 16px 0;
border: 1px solid var(--gray-200);
}
.bs-accordion-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
background: var(--gray-50);
cursor: pointer;
font-weight: 600;
font-size: var(--font-size-sm);
color: var(--gray-800);
transition: background 150ms;
}
.bs-accordion-header:hover { background: var(--gray-100); }
.bs-accordion-arrow {
transition: transform 250ms;
font-size: 0.8rem;
color: var(--gray-500);
}
.bs-accordion.open .bs-accordion-arrow { transform: rotate(180deg); }
.bs-accordion-content {
display: none;
padding: 16px 18px;
font-size: var(--font-size-sm);
color: var(--gray-700);
line-height: 1.6;
border-top: 1px solid var(--gray-200);
}
.bs-accordion.open .bs-accordion-content { display: block; }
/* ══════════════════════════════════════
INTRO HERO / 5 SÄULEN ERKLÄRUNG
══════════════════════════════════════ */
.bs-intro-hero {
margin: 16px 0 24px;
background: linear-gradient(180deg, #fff9f0 0%, #ffffff 100%);
border: 1px solid #fde0b0;
box-shadow: 0 8px 24px rgba(0,0,0,0.06);
overflow: hidden;
}
.bs-intro-card {
margin: 18px 18px 18px;
padding: 18px 20px 20px;
background: #ffffff;
border-top: 4px solid var(--bs-primary);
box-shadow: 0 -6px 18px rgba(0,0,0,0.05);
text-align: left;
}
.bs-intro-lead {
margin: 0 0 16px 0;
font-size: var(--font-size-base);
line-height: 1.7;
color: var(--gray-800);
}
.bs-intro-lead strong { color: var(--bs-primary-hover); }
.bs-intro-pillars {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 8px;
}
.bs-intro-pillar {
padding: 12px 10px;
background: var(--bs-primary-light);
border: 1px solid #fde0b0;
text-align: center;
transition: transform 150ms ease, box-shadow 150ms ease;
}
.bs-intro-pillar:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(240,130,0,0.16);
}
.bs-intro-pillar-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
margin-bottom: 8px;
background: var(--bs-primary);
color: #ffffff;
font-size: 0.75rem;
font-weight: 700;
}
.bs-intro-pillar-title {
display: block;
font-size: var(--font-size-xs);
font-weight: 700;
color: var(--gray-900);
line-height: 1.35;
}
/* ══════════════════════════════════════
SCORE / PROGRESS PAGE
══════════════════════════════════════ */
.bs-score-bar-wrap {
margin: 24px 0;
}
.bs-score-bar {
width: 100%;
height: 24px;
background: var(--gray-200);
overflow: hidden;
}
.bs-score-bar-fill {
height: 100%;
transition: width 600ms ease;
}
.bs-score-bar-label {
margin-top: 8px;
font-size: var(--font-size-sm);
color: var(--gray-600);
font-weight: 500;
text-align: center;
}
.bs-score-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 12px;
margin: 20px 0;
}
.bs-score-card {
padding: 20px 16px;
text-align: center;
background: var(--gray-50);
border: 1px solid var(--gray-200);
}
.bs-score-card-num {
font-size: 1.8rem;
font-weight: 700;
color: var(--gray-800);
margin-bottom: 4px;
}
.bs-score-card-label {
font-size: var(--font-size-xs);
font-weight: 600;
color: var(--gray-500);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.bs-score-correct .bs-score-card-num { color: var(--bs-green); }
.bs-score-wrong .bs-score-card-num { color: var(--bs-red); }
.bs-score-open .bs-score-card-num { color: var(--bs-primary); }
/* ══════════════════════════════════════
RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 600px) {
.bs-wizard { margin: 0; width: 100%; }
.bs-progress { padding: 14px 8px 10px; }
.bs-progress-step[data-section="0"],
.bs-progress-step[data-section="0"] + .bs-progress-line {
display: none;
}
.bs-progress-label { font-size: 0.6rem; max-width: 48px; }
.bs-progress-circle { width: 26px; height: 26px; font-size: 0.7rem; }
.bs-progress-line { min-width: 8px; max-width: 20px; margin-bottom: 16px; }
.bs-body { padding: 16px; }
.bs-actions { padding: 12px 16px 16px; flex-wrap: wrap; }
.bs-dropdown-match-row { flex-direction: column; align-items: flex-start; gap: 8px; }
.bs-dropdown-match-select { min-width: unset; width: 100%; }
.bs-chapter-title { font-size: 1.3rem; }
.bs-intro-card { margin: 10px 10px 10px; padding: 14px; }
.bs-intro-pillars { grid-template-columns: 1fr; }
.bs-intro-pillar { display: flex; align-items: center; gap: 10px; text-align: left; }
.bs-intro-pillar-number { margin-bottom: 0; flex-shrink: 0; }
.bs-score-grid { grid-template-columns: repeat(2, 1fr); }
}
@@ -0,0 +1,321 @@
/* Schwarzes Brett / Contentpanel */
.sb-page {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
margin-top: calc(var(--header-height) + var(--header-title-height));
width: 100%;
min-height: calc(100vh - var(--header-height) - var(--header-title-height) - var(--footer-height));
padding: var(--space-lg) var(--space-md) var(--space-3xl);
background: linear-gradient(135deg, var(--gray-50) 0%, hsl(330, 60%, 95%) 100%);
}
.sb-page > .content-tab-bar {
margin: calc(-1 * var(--space-lg)) calc(-1 * var(--space-md)) 0;
width: calc(100% + 2 * var(--space-md));
}
.sb-tab-content {
display: none;
width: 100%;
max-width: 960px;
margin: var(--space-lg) auto 0;
animation: sbFadeIn 300ms ease;
}
.sb-tab-content.active {
display: block;
}
@keyframes sbFadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.sb-card {
margin-bottom: var(--space-lg);
padding: 24px 28px;
background: #ffffff;
box-shadow: var(--shadow-md);
}
.sb-card-title {
display: flex;
align-items: center;
gap: 8px;
margin: 0 0 var(--space-md);
color: var(--gray-800);
font-size: 1rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.sb-card-title svg {
width: 20px;
height: 20px;
flex-shrink: 0;
fill: var(--nak-raspberry);
}
.sb-entry-list {
display: flex;
flex-direction: column;
max-height: 360px;
margin-bottom: var(--space-lg);
overflow-y: auto;
border: 1px solid var(--gray-200);
}
.sb-entry {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 16px;
border-bottom: 1px solid var(--gray-100);
}
.sb-entry:last-child {
border-bottom: none;
}
.sb-entry-info {
flex: 1;
min-width: 0;
}
.sb-entry-date {
color: var(--nak-raspberry);
font-size: var(--font-size-xs);
font-weight: 600;
letter-spacing: 0.03em;
text-transform: uppercase;
}
.sb-entry-title {
margin-top: 2px;
color: var(--gray-800);
font-size: var(--font-size-sm);
font-weight: 600;
}
.sb-entry-subtitle,
.sb-entry-meta {
margin-top: 2px;
color: var(--gray-500);
font-size: var(--font-size-xs);
}
.sb-entry-subtitle {
font-style: italic;
}
.sb-empty {
padding: 16px;
color: var(--gray-500);
font-size: var(--font-size-sm);
text-align: center;
}
.sb-form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-md);
}
.sb-form-grid-single {
grid-template-columns: 1fr;
}
.sb-form-full {
grid-column: 1 / -1;
}
.sb-field-group {
display: flex;
flex-direction: column;
gap: 4px;
}
.sb-field-group-action {
margin-top: var(--space-sm);
}
.sb-label {
color: var(--gray-700);
font-size: var(--font-size-sm);
font-weight: 500;
}
.sb-required {
color: var(--nak-red);
}
.sb-optional {
color: var(--gray-500);
font-weight: 300;
}
.sb-field {
box-sizing: border-box;
width: 100%;
padding: 10px 14px;
border: 1px solid var(--gray-300);
outline: none;
background: var(--gray-50);
font-family: var(--font-primary);
font-size: var(--font-size-base);
font-weight: 300;
transition: border-color 150ms ease, box-shadow 150ms ease;
}
.sb-field:focus {
border-color: var(--nak-raspberry);
background: #ffffff;
box-shadow: 0 0 0 3px rgba(215, 50, 130, 0.15);
}
.sb-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 40px;
padding: 10px 20px;
border: 1px solid var(--gray-300);
background: #ffffff;
color: var(--gray-700);
cursor: pointer;
font-family: var(--font-primary);
font-size: var(--font-size-sm);
font-weight: 600;
white-space: nowrap;
transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.sb-btn:hover {
background: var(--gray-100);
box-shadow: var(--shadow-sm);
transform: translateY(-1px);
}
.sb-btn-primary {
border-color: var(--nak-raspberry);
background: linear-gradient(135deg, var(--nak-raspberry), #b8296e);
color: #ffffff;
}
.sb-btn-primary:hover {
border-color: #b8296e;
background: linear-gradient(135deg, #b8296e, #9c2260);
}
.sb-btn-danger {
min-height: 30px;
padding: 6px 12px;
border: 1px solid var(--gray-300);
background: none;
color: var(--nak-red);
font-size: var(--font-size-xs);
}
.sb-btn-danger:hover {
border-color: var(--nak-red);
background: hsl(0, 78%, 96%);
}
.sb-alert {
margin: var(--space-md) 0;
padding: 10px 16px;
border: 1px solid hsl(145, 50%, 85%);
background: hsl(145, 50%, 93%);
color: hsl(145, 50%, 28%);
font-size: var(--font-size-sm);
font-weight: 500;
}
.sb-alert-error {
border-color: hsl(0, 70%, 86%);
background: hsl(0, 78%, 96%);
color: hsl(0, 65%, 38%);
}
.sb-aushang-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: var(--space-md);
margin-bottom: var(--space-lg);
}
.sb-aushang-card {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
padding: 12px;
border: 1px solid var(--gray-200);
background: var(--gray-50);
transition: box-shadow 200ms ease, transform 200ms ease;
}
.sb-aushang-card:hover {
box-shadow: var(--shadow-md);
transform: translateY(-2px);
}
.sb-aushang-card img {
width: 100%;
height: 180px;
object-fit: cover;
border: 1px solid var(--gray-200);
}
.sb-aushang-title {
color: var(--gray-800);
font-size: var(--font-size-sm);
font-weight: 600;
text-align: center;
}
.sb-aushang-meta {
color: var(--gray-500);
font-size: var(--font-size-xs);
text-align: center;
}
.sb-aushang-delete-form {
width: 100%;
text-align: center;
}
.sb-spinner {
display: none;
width: 24px;
height: 24px;
margin: 0 auto;
border: 3px solid var(--gray-200);
border-top-color: var(--nak-raspberry);
border-radius: 50%;
animation: sbSpin 0.8s linear infinite;
}
.sb-uploading .sb-upload-button {
display: none;
}
.sb-uploading .sb-spinner {
display: block;
}
@keyframes sbSpin {
to { transform: rotate(360deg); }
}
@media (max-width: 768px) {
.sb-page { padding: var(--space-md) var(--space-sm); }
.sb-card { padding: 16px; }
.sb-form-grid { grid-template-columns: 1fr; }
.sb-aushang-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@@ -0,0 +1,337 @@
/* Kalli – Eintragungsassistent */
.kalli-wizard {
width: 90%;
max-width: 1400px;
margin: var(--space-xl) auto;
overflow: hidden;
background: #fff;
box-shadow: var(--shadow-md);
}
.kalli-progress {
display: flex;
align-items: center;
justify-content: center;
gap: 0;
padding: 20px 28px 16px;
background: var(--gray-50);
border-bottom: 1px solid var(--gray-200);
}
.kalli-progress-step {
display: flex;
flex-shrink: 0;
flex-direction: column;
align-items: center;
gap: 4px;
}
.kalli-progress-circle {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
color: var(--gray-500);
font-size: var(--font-size-sm);
font-weight: 600;
background: var(--gray-200);
border: 2px solid var(--gray-300);
transition: all 250ms ease;
}
.kalli-progress-step.active .kalli-progress-circle {
color: #fff;
background: var(--nak-blue);
border-color: var(--nak-blue);
box-shadow: 0 2px 8px rgba(39, 134, 207, 0.35);
}
.kalli-progress-step.done .kalli-progress-circle {
color: var(--nak-blue);
background: #fff;
border-color: var(--nak-blue);
}
.kalli-progress-label {
color: var(--gray-500);
font-size: var(--font-size-xs);
font-weight: 500;
white-space: nowrap;
transition: color 250ms ease;
}
.kalli-progress-step.active .kalli-progress-label,
.kalli-progress-step.done .kalli-progress-label {
color: var(--nak-blue);
}
.kalli-progress-line {
flex: 1;
min-width: 20px;
max-width: 60px;
height: 2px;
margin: 0 6px 20px;
background: var(--gray-300);
transition: background 250ms ease;
}
.kalli-progress-line.done { background: var(--nak-blue); }
.kalli-step[hidden] { display: none !important; }
.kalli-modal-body { padding: 22px 28px 16px; }
.kalli-section-title {
margin: 0 0 16px;
color: var(--gray-600);
font-size: var(--font-size-sm);
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.kalli-category-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: var(--space-lg);
}
.kalli-category {
display: flex;
flex-direction: column;
gap: 2px;
}
.kalli-category-label {
margin-bottom: 4px;
color: var(--gray-700);
font-size: var(--font-size-sm);
font-weight: 600;
letter-spacing: 0.03em;
text-transform: uppercase;
}
.kalli-category-label--custom { color: var(--nak-red); }
label.kalli-radio-item {
display: flex;
align-items: center;
gap: 8px;
padding: 0 5px;
color: var(--gray-600);
font-size: var(--font-size-sm);
font-weight: 300;
letter-spacing: normal;
text-transform: none;
cursor: pointer;
border: 1px solid transparent;
transition: background 150ms ease, border-color 150ms ease;
}
label.kalli-radio-item:hover {
background: var(--gray-50);
border-color: var(--gray-200);
}
label.kalli-radio-item input[type="radio"] {
flex-shrink: 0;
align-self: center;
width: 16px;
height: 16px;
margin: 0;
accent-color: var(--nak-blue);
}
label.kalli-radio-item span {
overflow-wrap: break-word;
line-height: 1.4;
word-break: break-word;
hyphens: auto;
}
.kalli-custom-section {
margin-top: var(--space-lg);
padding: var(--space-md);
background: hsl(0, 60%, 98%);
border: 1px solid hsl(0, 60%, 90%);
}
.kalli-custom-hint {
margin: 0 0 var(--space-sm);
color: var(--gray-600);
font-size: var(--font-size-sm);
}
.kalli-custom-options {
display: flex;
flex-wrap: wrap;
gap: var(--space-lg);
margin-bottom: var(--space-sm);
}
.kalli-field-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-md);
}
.kalli-field-grid-single { grid-template-columns: 1fr; }
.kalli-field-group {
display: flex;
flex-direction: column;
gap: 4px;
}
.kalli-label {
color: var(--gray-700);
font-size: var(--font-size-sm);
font-weight: 500;
}
.kalli-label-note {
color: var(--gray-500);
font-weight: 300;
}
.kalli-required { color: var(--nak-red); }
.kalli-field {
box-sizing: border-box;
width: 100%;
padding: 12px 14px;
color: inherit;
font-family: var(--font-primary);
font-size: var(--font-size-base);
font-weight: 300;
background: var(--gray-50);
border: 1px solid var(--gray-300);
outline: none;
transition: border-color 150ms ease, box-shadow 150ms ease;
}
.kalli-field:focus {
background: #fff;
border-color: var(--nak-blue);
box-shadow: 0 0 0 3px rgba(39, 134, 207, 0.2);
}
.kalli-summary {
display: flex;
flex-direction: column;
border: 1px solid var(--gray-200);
}
.kalli-summary-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
border-bottom: 1px solid var(--gray-100);
}
.kalli-summary-row:last-child { border-bottom: 0; }
.kalli-summary-label {
color: var(--gray-600);
font-size: var(--font-size-sm);
font-weight: 500;
}
.kalli-summary-value {
color: var(--gray-900);
font-size: var(--font-size-sm);
font-weight: 500;
text-align: right;
}
.kalli-validation-error {
margin: var(--space-md) 28px 0;
padding: 10px 14px;
color: hsl(0, 78%, 40%);
font-size: var(--font-size-sm);
font-weight: 600;
background: hsl(0, 78%, 95%);
}
.kalli-validation-error--step { margin: var(--space-md) 0 0; }
.kalli-modal-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 16px 28px 20px;
border-top: 1px solid var(--gray-200);
}
.kalli-modal-actions-left,
.kalli-modal-actions-right {
display: flex;
gap: 8px;
}
.kalli-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 38px;
padding: 8px 18px;
color: var(--gray-800);
font-family: var(--font-primary);
font-size: var(--font-size-sm);
font-weight: 600;
white-space: nowrap;
cursor: pointer;
background: #fff;
border: 1px solid var(--gray-300);
transition: background 150ms ease, transform 150ms ease;
}
.kalli-btn:hover {
background: var(--gray-100);
transform: translateY(-1px);
}
.kalli-btn:disabled {
opacity: 0.65;
cursor: wait;
transform: none;
}
.kalli-btn-primary {
color: #fff;
background: var(--nak-blue);
border-color: var(--nak-blue);
}
.kalli-btn-primary:hover {
background: var(--nak-blue-hover);
border-color: var(--nak-blue-hover);
}
.kalli-btn-submit {
padding: 10px 24px;
color: #fff;
font-weight: 700;
background: linear-gradient(135deg, var(--nak-blue), var(--nak-blue-hover));
border-color: var(--nak-blue-hover);
}
.kalli-btn-submit:hover {
background: linear-gradient(135deg, var(--nak-blue-hover), #185d8f);
}
@media (max-width: 600px) {
.kalli-wizard { width: 100%; margin: 0; }
.kalli-progress { padding: 14px 12px 10px; }
.kalli-progress-label { font-size: 0.65rem; }
.kalli-progress-circle { width: 26px; height: 26px; font-size: 0.7rem; }
.kalli-progress-line { min-width: 12px; margin-bottom: 16px; }
.kalli-modal-body { padding: 16px; }
.kalli-category-grid,
.kalli-field-grid { grid-template-columns: 1fr; }
.kalli-validation-error { margin-right: 16px; margin-left: 16px; }
.kalli-validation-error--step { margin-right: 0; margin-left: 0; }
.kalli-modal-actions { flex-wrap: wrap; padding: 12px 16px 16px; }
}
@@ -1,6 +1,6 @@
/* Name: seelsorge.css
Beschreibung: Spezielles CSS für Seelsorge Planer */
#seelsorge.menue {
position: relative;
top: 0px;
@@ -24,7 +24,7 @@
width: 100%;
}
#seelsorge.menue .menu-item:link { color: hsl(210, 60%, 50%);}
#seelsorge.menue .menu-item:link { color: hsl(210, 60%, 50%);}
#seelsorge.menue .menu-item:hover { color: #FFFFFF;
opacity: 1.0;
transition: top 0.6s ease-in-out;
@@ -52,7 +52,7 @@
font-weight: 100;
cursor: pointer;
opacity: 0.9;
transition: background-color 0.5s ease;
-webkit-transition: background-color 0.5s ease;
/*box-shadow: 0 1px 1px 0 rgba(255, 255, 255, 0.3),
@@ -81,7 +81,7 @@
border-radius: 0;
}
.content .active { /* bezieht sich damit auf .content_seelsorge*/
display: flex;
display: flex;
}
/* Besuchsstellen */
@@ -102,7 +102,7 @@
color: white;
}
.reservation-button {
background-color: hsl(210, 57%, 50%)!important;
color: white;
}
@@ -138,7 +138,7 @@ div.content_output {
overflow: visible;
width: calc(100% - 31px);
background-color: hsl( 60, 33%, 95%);
border: 1px solid #DDDDDD;
border: 1px solid #DDDDDD;
border-radius: 0;
}
div.content_output ul {
@@ -176,7 +176,7 @@ ul.galery {
padding: 0px;
margin: 0px;
width:auto;
list-style: none;
list-style: none;
}
li.galery {
position: relative;
@@ -204,7 +204,7 @@ ul.galery .available {
}
ul.galery .notavailable {
box-shadow: 0 0 2px 1px hsl(0,0%,50%);
}
}
img.galery_image {
padding: 0px;
margin: 0px;
@@ -221,11 +221,11 @@ img.galery_image {
justify-content: center;
align-items: center;
align-self: center;
padding: 0px 5px 0px 5px;
margin: 0px;
height: 17px;
text-align: center;
text-align: center;
font-size: 0.78em;
font-weight: 500;
color: hsl(297, 40%, 45%);
@@ -256,7 +256,7 @@ img.galery_image {
margin: 5px;
width: 250px;
text-align: center;
background-color: #FFFFFF;
border: 5px solid hsl(60, 33%, 80%);
border-radius: 10px;
@@ -273,7 +273,7 @@ img.galery_image {
flex: 50%;
padding: 30px;
margin: 5px;
border: 0px solid #DDDDDD;
background-color: hsl(60, 33%, 80%);
border-radius: 10px;
@@ -286,10 +286,10 @@ img.galery_image {
padding-bottom: 2px;
margin: 0px;
width: auto;
border-spacing: 0px;
border-bottom: 1px solid #AAAAAA;
} */
/* .profile_calendar {
-ms-flex: 50%;
@@ -424,16 +424,16 @@ img.galery_image {
width: 100%;
overflow: hidden;
font-size: 1.0em;
font-weight: 600;
font-weight: 600;
border-spacing: 0;
border: none;
border-radius: 0;
border-radius: 0;
}
.calendar_content table {
padding: 0px;
margin: 0px 0px 0px 0px;
width: 100%;
height: auto;
height: auto;
table-layout: fixed;
border-spacing: 5px;
border: 0px solid #DDDDDD;
@@ -482,7 +482,7 @@ td.calendar_day_area:hover {
td.calendar_day_area a {
text-decoration: none;
}
#calendar_day_item:hover, #calendar_day_item *:hover {
.calendar_day_item:hover, .calendar_day_item *:hover {
filter: brightness(0.82);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
@@ -491,27 +491,27 @@ td.calendar_day_area a {
display: flex;
justify-content: center;
align-items: center;
align-content: center;
align-content: center;
width: auto;
height: 100%;
height: 100%;
aspect-ratio: 1/1;
vertical-align: middle;
border-radius: 0;
box-shadow: 0 2px 8px rgba(0,0,0,0.12);
transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.available_single {
.calendar_day_item.available_single {
color: hsl(210, 20%, 15%);
background-color: #ffdc0f;
}
.available_multiple {
.calendar_day_item.available_multiple {
color: #FFFFFF;
background-color: #006e14;
}
.normalday {
.calendar_day_item.normalday {
background-color: hsl(297, 10%, 98%);
}
.today {
.calendar_day_item.today {
color: #FFFFFF;
background-color: #1243a0;
box-shadow: 0 4px 16px rgba(18,67,160,0.35);
@@ -521,32 +521,32 @@ td.calendar_day_area a {
background-color: hsl(195, 80%, 60%);
box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
} */
.saturday {
.calendar_day_item.saturday {
color: #FFFFFF;
background-color: hsl(297, 25%, 45%);
}
.sunday, .localholiday {
.calendar_day_item.sunday, .calendar_day_item.localholiday {
color: #FFFFFF;
background-color: hsl(297, 80%, 40%);
}
.past {
.calendar_day_item.past {
color: hsl(0, 0%, 55%);
background-color: hsl(0, 0%, 90%);
}
.editmode {
border-radius: 0 !important;
box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
}
}
.calendar_day {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-content: center;
align-content: center;
width: auto;
height: 43px;
border: 0px solid #000;
border: 0px solid #000;
}
.feiertagsname {
position: absolute;
@@ -557,7 +557,7 @@ td.calendar_day_area a {
padding: 0px 1px;
/*yphens: auto; */ /* Textumbruch erstmal nicht*/
font-size: 0.55em;
text-align: center;
text-align: center;
width: auto;
color: hsl(297, 100%, 20%);
border: 1px solid hsl(297, 30%, 90%);
@@ -593,13 +593,13 @@ td.greenbox {
justify-content: space-evenly;
padding: 0;
margin: 0;
}
#seelsorge.menue .menu-item {
padding: 5px 2vw 5px 2vw;
margin: 0.125vh 1vw 0.0125vh 1vw;
max-width: 24vw;
font-size: 80%;
font-size: 80%;
}
.content_seelsorge {
padding: 0px;
@@ -636,7 +636,7 @@ td.greenbox {
padding: 0px;
margin: 5px;
width:auto;
list-style: none;
list-style: none;
}
}
@media (max-width: 400px) {
@@ -647,11 +647,11 @@ td.greenbox {
padding: 5px 5px 5px 5px;
margin: 0px 5px 0px 5px;
max-width: 24vw;
font-size: 77%;
font-size: 77%;
}
.page_calendar {
width: calc(100vw - 10px - 2px);
max-width: 400px;
transform: scale(0.98);
overflow-x: hidden;
@@ -661,7 +661,7 @@ td.greenbox {
}
.calendar_day_item {
width: auto;
height: 90%;
height: 90%;
aspect-ratio: 1/1;
vertical-align: middle;
border-radius: 0;
@@ -685,10 +685,10 @@ td.greenbox {
}
@media (max-width: 475px) {
.page_calendar {
max-height: 475px;
max-width: 475px;
transform: scale(0.6);
}
} */
@@ -1002,3 +1002,571 @@ td.greenbox {
font-size: 0.85em;
}
}
/* Besuchsstellen: Karten, Detail- und Bearbeitungsmodals */
/* --- Shell --- */
.visit-shell {
padding: 18px;
width: 100%;
background: linear-gradient(135deg, var(--gray-50) 0%, var(--theme-light, var(--nak-blue-light)) 100%);
min-height: 100%;
}
.visit-card {
overflow: hidden;
border: 1px solid rgba(120, 140, 160, 0.22);
border-radius: 0;
background: rgba(255,255,255,0.86);
box-shadow: 0 20px 45px rgba(31, 38, 46, 0.10), 0 1px 0 rgba(255,255,255,0.9) inset;
}
.visit-list-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 16px 18px 12px 18px;
border-bottom: 1px solid rgba(120, 140, 160, 0.16);
background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.72));
}
.visit-list-title {
font-size: 1.05em;
font-weight: 800;
color: hsl(210, 20%, 15%);
}
.visit-list-actions {
display: flex;
gap: 8px;
align-items: center;
}
.visit-action-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 7px 14px;
border: 1px solid hsl(210, 18%, 84%);
border-radius: 0;
background: #FFFFFF;
color: hsl(210, 20%, 22%);
font-size: 0.86em;
font-weight: 850;
cursor: pointer;
box-shadow: 0 4px 12px rgba(31,38,46,0.06);
text-decoration: none;
transition: background 0.18s ease;
}
.visit-action-btn:hover { background: hsl(210, 57%, 96%); }
.visit-action-btn-primary {
color: #FFFFFF;
background: linear-gradient(135deg, var(--nak-purple), #5c1865);
border-color: #5c1865;
}
.visit-action-btn-primary:hover { background: linear-gradient(135deg, #5c1865, #4a1352); }
/* --- Table (admin-style) --- */
table.visit-table {
display: table !important;
width: calc(100% - 24px);
margin: 8px 12px 14px 12px;
border-collapse: separate;
border-spacing: 0 8px;
padding: 0;
background: transparent;
overflow: visible;
}
.visit-table:after { display: none; }
.visit-table thead th {
position: sticky;
top: 0;
padding: 10px 14px;
color: hsl(210, 16%, 46%);
font-size: 0.78em;
font-weight: 800;
text-align: left;
letter-spacing: 0.04em;
text-transform: uppercase;
background: transparent !important;
border: none !important;
box-shadow: none;
}
.visit-table thead th::after { display: none; }
.visit-table tbody tr.visit-row {
position: relative;
cursor: pointer;
background: rgba(255, 255, 255, 0.92);
border-radius: 0;
box-shadow: 0 6px 18px rgba(31, 38, 46, 0.06);
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.visit-table tbody tr.visit-row:hover,
.visit-table tbody tr.visit-row:focus {
transform: translateY(-1px);
background: #FFFFFF;
box-shadow: 0 12px 26px rgba(31, 38, 46, 0.13);
outline: none !important;
filter: none !important;
}
.visit-table td {
padding: 12px 14px !important;
vertical-align: middle;
border: none !important;
background: transparent !important;
}
.visit-table tbody tr.visit-row td:first-child {
position: static !important;
width: 18px;
min-width: 18px;
max-width: 18px;
padding-right: 0 !important;
border-radius: 0;
}
.visit-table tbody tr.visit-row td:last-child {
border-radius: 0;
}
/* Status dot (first column) */
.visit-status-dot {
display: block;
width: 14px;
height: 14px;
border-radius: 50%;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.visit-status-dot.is-blue { background: var(--nak-blue); }
.visit-status-dot.is-red { background: var(--nak-red); }
.visit-status-dot.is-orange { background: var(--nak-orange); }
.visit-status-dot.is-green { background: var(--nak-darkgreen); }
/* Status badge (pill below name) */
.visit-status-badge {
display: inline-flex;
align-items: center;
padding: 2px 7px;
border-radius: 0;
font-size: 0.72em;
font-weight: 800;
}
.visit-status-badge.is-blue {
color: hsl(210, 57%, 30%);
background: hsl(210, 57%, 92%);
}
.visit-status-badge.is-red {
color: hsl(0, 60%, 36%);
background: hsl(0, 65%, 93%);
}
.visit-status-badge.is-orange {
color: hsl(30, 70%, 30%);
background: hsl(35, 80%, 92%);
}
.visit-status-badge.is-green {
color: hsl(145, 50%, 28%);
background: hsl(145, 50%, 92%);
}
/* Name column */
.visit-name-text {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 1em;
font-weight: 800;
color: hsl(210, 20%, 15%);
}
/* Info column */
.visit-info-cell {
font-size: 0.9em;
color: hsl(210, 14%, 40%);
font-weight: 600;
}
.visit-info-cell .visit-planned-by {
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 4px;
font-size: 0.88em;
color: hsl(210, 57%, 40%);
font-weight: 700;
}
.visit-info-cell .visit-planned-by img {
width: 24px;
height: 24px;
border-radius: 50%;
object-fit: cover;
}
.visit-empty-row td {
padding: 24px !important;
text-align: center !important;
color: hsl(210, 20%, 45%);
background: #FFFFFF !important;
border-radius: 0;
}
/* --- Detail Modal --- */
.visit-detail-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.45);
z-index: 9999;
display: none;
align-items: center;
justify-content: center;
padding: 18px;
}
.visit-detail-card {
position: relative;
width: min(640px, calc(100vw - 24px));
max-height: min(780px, calc(100vh - 24px));
overflow: auto;
background: #FFFFFF;
border-radius: 0;
box-shadow: 0 24px 70px rgba(0,0,0,0.36);
}
.visit-detail-hero {
padding: 24px;
color: #FFFFFF;
background: radial-gradient(circle at 10% 0%, rgba(255,255,255,0.24), transparent 32%),
linear-gradient(135deg, var(--nak-purple), #5c1865);
border-radius: 0;
}
.visit-detail-hero-title {
font-size: 1.3em;
font-weight: 850;
margin-bottom: 6px;
}
.visit-detail-hero-sub {
color: rgba(255,255,255,0.8);
font-weight: 600;
}
.visit-detail-close {
position: absolute;
top: 14px;
right: 14px;
width: 34px;
height: 34px;
border-radius: 0;
border: 1px solid rgba(255,255,255,0.25);
background: rgba(255,255,255,0.16);
color: #FFFFFF;
font-size: 1.35em;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.visit-detail-body {
padding: 22px 24px 24px 24px;
}
.visit-detail-section-title {
margin: 16px 0 8px 0;
font-size: 0.88em;
font-weight: 850;
text-transform: uppercase;
letter-spacing: 0.04em;
color: hsl(210, 18%, 36%);
}
.visit-detail-section-title:first-child { margin-top: 0; }
.visit-detail-member {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 14px;
border: 1px solid hsl(210, 18%, 88%);
border-radius: 0;
background: hsl(210, 12%, 98%);
margin-bottom: 8px;
}
.visit-detail-member-info {
font-weight: 700;
color: hsl(210, 20%, 18%);
}
.visit-detail-member-info .age {
font-size: 0.88em;
color: hsl(210, 14%, 46%);
font-weight: 600;
margin-left: 8px;
}
.visit-detail-member-edit {
width: 32px;
height: 32px;
border-radius: 0;
border: 1px solid hsl(210, 18%, 84%);
background: #FFF;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9em;
transition: background 0.18s ease;
}
.visit-detail-member-edit:hover { background: hsl(210, 57%, 96%); }
.visit-detail-info-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-bottom: 12px;
}
.visit-detail-info-item {
padding: 10px 12px;
border: 1px solid hsl(210, 18%, 90%);
border-radius: 0;
background: hsl(210, 12%, 98.5%);
}
.visit-detail-info-label {
font-size: 0.72em;
font-weight: 850;
text-transform: uppercase;
letter-spacing: 0.04em;
color: hsl(210, 14%, 46%);
margin-bottom: 2px;
}
.visit-detail-info-value {
font-weight: 750;
color: hsl(210, 20%, 18%);
font-size: 0.95em;
}
.visit-detail-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid hsl(210, 18%, 90%);
}
.visit-detail-actions .visit-action-btn { font-size: 0.88em; padding: 9px 16px; }
/* --- Edit/Picker Modals (kept from original) --- */
.visit-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.45);
z-index: 10000;
display: none;
align-items: center;
justify-content: center;
padding: 18px;
}
.visit-modal {
width: min(820px, 96vw);
max-height: 92vh;
overflow: auto;
background: #FFFFFF;
border-radius: 0;
box-shadow: 0 24px 70px rgba(0,0,0,0.36);
}
.visit-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
border-bottom: 1px solid hsl(210, 18%, 90%);
background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
position: sticky;
top: 0;
z-index: 1;
border-radius: 0;
}
.visit-modal-header h2 { margin: 0; font-size: 1.15em; font-weight: 850; color: hsl(210, 20%, 15%); }
.visit-modal-close {
cursor: pointer;
border: 1px solid hsl(210, 18%, 84%);
background: #FFF;
border-radius: 0;
width: 34px;
height: 34px;
font-size: 1.3em;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
}
.visit-modal-close:hover { background: hsl(210, 12%, 95%); }
.visit-modal-body { padding: 20px 24px 24px 24px; }
.visit-picker-search {
width: 100%;
box-sizing: border-box;
padding: 12px 14px;
border-radius: 0;
border: 1px solid hsl(210, 18%, 84%);
background: hsl(210, 12%, 98%);
font-size: 1em;
font-weight: 650;
outline: none;
margin-bottom: 12px;
}
.visit-picker-search:focus { border-color: var(--nak-purple); background: #FFF; }
.visit-picker-list { display: flex; flex-direction: column; gap: 8px; }
.visit-picker-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 14px;
border-radius: 0;
border: 1px solid hsl(210, 18%, 88%);
background: #FFF;
cursor: pointer;
transition: background 0.18s ease, transform 0.18s ease;
}
.visit-picker-item:hover { background: hsl(210, 57%, 97%); transform: translateY(-1px); }
.visit-picker-name { font-weight: 800; color: hsl(210, 20%, 15%); }
.visit-picker-sub { font-size: 0.82em; color: hsl(210, 14%, 46%); margin-top: 2px; }
.visit-form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.visit-form-grid .full { grid-column: 1 / -1; }
.visit-form-field label {
display: block;
font-weight: 750;
margin-bottom: 6px;
font-size: 0.88em;
color: hsl(210, 18%, 36%);
text-transform: uppercase;
letter-spacing: 0.04em;
}
.visit-form-field input,
.visit-form-field select {
width: 100%;
box-sizing: border-box;
padding: 12px 14px;
border-radius: 0;
border: 1px solid hsl(210, 18%, 84%);
background: hsl(210, 12%, 98%);
font-size: 1em;
font-weight: 650;
outline: none;
}
.visit-form-field input:focus,
.visit-form-field select:focus { border-color: var(--nak-purple); background: #FFF; }
.visit-modal-actions {
display: flex;
gap: 8px;
justify-content: flex-end;
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid hsl(210, 18%, 90%);
}
.visit-form-error {
margin-bottom: 14px;
padding: 10px 12px;
border: 1px solid hsl(0, 72%, 88%);
background: hsl(0, 72%, 97%);
color: hsl(0, 72%, 38%);
font-size: 0.9em;
font-weight: 700;
}
.visit-modal-actions button { cursor: pointer; border: none; border-radius: 0; padding: 10px 18px; font-weight: 850; font-size: 0.88em; }
.visit-btn-save { background: linear-gradient(135deg, hsl(145, 55%, 42%), hsl(145, 55%, 34%)); color: #fff; }
.visit-btn-cancel { background: hsl(210, 12%, 92%); color: hsl(210, 20%, 30%); }
.visit-btn-delete { background: hsl(0, 72%, 95%); color: hsl(0, 72%, 42%); border: 1px solid hsl(0, 72%, 88%); margin-right: auto; }
.visit-phone-row { display: flex; align-items: stretch; width: 100%; }
.visit-input-prefix {
display: flex;
align-items: center;
padding: 0 12px;
border: 1px solid hsl(210, 18%, 84%);
border-right: none;
border-radius: 0;
background: hsl(210, 12%, 95%);
font-weight: 800;
font-size: 0.9em;
white-space: nowrap;
color: hsl(210, 14%, 40%);
}
.visit-phone-row input.visit-phone-input {
width: 100%;
box-sizing: border-box;
padding: 12px 14px;
border: 1px solid hsl(210, 18%, 84%);
border-left: none;
border-radius: 0;
background: hsl(210, 12%, 98%);
font-size: 1em;
font-weight: 650;
outline: none;
}
@media (max-width: 780px) {
.visit-shell { padding: 10px; }
.visit-list-header {
align-items: flex-start;
flex-direction: column;
padding: 14px;
gap: 8px;
}
.visit-list-actions {
width: 100%;
justify-content: space-between;
}
table.visit-table {
display: block !important;
width: auto;
margin: 8px;
padding: 0;
border-spacing: 0;
}
.visit-table thead { display: none; }
.visit-table tbody {
display: grid;
gap: 10px;
}
.visit-table tbody tr.visit-row {
display: grid;
grid-template-columns: 18px minmax(0, 1fr);
gap: 0 12px;
padding: 14px;
border: 1px solid rgba(120, 140, 160, 0.16);
border-radius: 0;
box-shadow: 0 8px 22px rgba(31, 38, 46, 0.08);
}
.visit-table tbody tr.visit-row td {
display: block;
padding: 0 !important;
border-radius: 0 !important;
}
.visit-table tbody tr.visit-row td:first-child {
grid-row: 1 / span 2;
width: 18px;
min-width: 18px;
max-width: 18px;
display: flex;
align-items: center;
}
.visit-table tbody tr.visit-row td:nth-child(2) {
align-self: end;
min-width: 0;
}
.visit-table tbody tr.visit-row td:nth-child(3) {
align-self: start;
min-width: 0;
padding-top: 5px !important;
}
.visit-name-text {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.visit-empty-row {
display: block !important;
}
.visit-empty-row td {
display: block;
}
.visit-detail-info-grid { grid-template-columns: 1fr; }
.visit-detail-card { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); }
}
@media (max-width: 480px) {
.visit-shell { padding: 8px; }
.visit-card { border-radius: 0; }
.visit-list-title { font-size: 1em; }
.visit-table tbody tr.visit-row {
gap: 0 10px;
padding: 10px;
}
.visit-name-text { font-size: 0.96em; }
.visit-info-cell { font-size: 0.85em; }
.visit-action-btn { font-size: 0.78em; padding: 6px 10px; }
}