snapshot: preserve shared base shell foundation

This commit is contained in:
Md Bayazid Bostame
2026-03-24 17:43:01 +01:00
parent 815c805b08
commit 5c6d300c4e
22 changed files with 615 additions and 176 deletions

View File

@@ -0,0 +1,101 @@
:root {
--app-shell-width: 1380px;
--app-line: #d9e3ee;
--app-brand-blue: #000078;
--app-panel: rgba(255, 255, 255, 0.9);
--app-shadow: 0 22px 48px rgba(18, 34, 56, 0.14);
}
.app-header {
box-sizing: border-box;
width: min(var(--app-shell-width), 100%);
margin: 0 auto 12px;
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 18px;
padding: 22px 24px 18px;
border: 1px solid rgba(217, 227, 238, 0.9);
border-radius: 28px;
background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,251,255,0.84));
box-shadow: var(--app-shadow);
}
.app-header-in-shell {
box-sizing: border-box;
width: 100%;
margin: 0;
padding: 22px 24px 18px;
border: 0;
border-bottom: 1px solid rgba(217, 227, 238, 0.9);
border-radius: 0;
background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,251,255,0.84));
box-shadow: none;
}
.app-brand {
display: inline-flex;
min-width: 0;
align-items: center;
text-decoration: none;
}
.app-brand-logo {
width: 186px;
max-width: 100%;
height: auto;
display: block;
}
.app-header-actions {
display: flex;
margin-left: auto;
flex: 0 0 auto;
gap: 8px;
flex-wrap: wrap;
justify-content: flex-end;
align-items: center;
}
.app-lang-switch {
display: flex;
gap: 6px;
}
.app-lang-btn {
border: 1px solid var(--app-line);
background: #f8fbff;
color: #1f3a5f;
border-radius: 999px;
padding: 6px 10px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
}
.app-lang-btn.active {
background: var(--app-brand-blue);
border-color: var(--app-brand-blue);
color: #fff;
}
.shell,
.wrap,
.top-wrap {
width: min(var(--app-shell-width), 100%) !important;
max-width: none !important;
margin-left: auto !important;
margin-right: auto !important;
}
@media (max-width: 900px) {
.app-header,
.app-header-in-shell {
flex-direction: column;
align-items: stretch;
}
.app-header-actions {
justify-content: flex-start;
}
}

View File

@@ -7,10 +7,12 @@ body {
radial-gradient(900px 520px at 92% 0%, #eef4ff, transparent),
#edf2fb;
}
.wrap { max-width: 920px; margin: 0 auto; }
.wrap { width: min(var(--app-shell-width), 100%); margin: 0 auto; background: #ffffff; border: 1px solid #d8e1ee; border-radius: 20px; box-shadow: 0 20px 44px rgba(16, 32, 57, 0.13); overflow: hidden; }
.wrap-body { padding: 18px; }
.brand-logo { width: 180px; max-width: 100%; height: auto; margin: 0 0 10px; display: block; }
.top-link { margin-bottom: 10px; }
.card { background: linear-gradient(180deg, #ffffff, #fbfcff); border: 1px solid #d9dcf3; border-radius: 14px; padding: 18px; margin-bottom: 14px; box-shadow: 0 10px 24px rgba(0, 0, 120, 0.08); }
.wrap-body .card:last-child { margin-bottom: 0; }
h1 { margin-top: 0; color: #000078; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }

View File

@@ -25,15 +25,24 @@ body {
}
.shell {
max-width: 1120px;
width: min(var(--app-shell-width), 100%);
margin: 0 auto;
background: var(--card);
border: 1px solid var(--line);
border-radius: 20px;
box-shadow: 0 20px 44px rgba(16, 32, 57, 0.13);
overflow: hidden;
}
.shell-body {
display: grid;
grid-template-columns: 290px 1fr;
gap: 16px;
padding: 18px;
}
.top-wrap {
max-width: 1120px;
width: min(var(--app-shell-width), 100%);
margin: 0 auto 10px;
}
@@ -172,7 +181,9 @@ h1 {
}
.section-itsetup {
background: linear-gradient(160deg, #ffffff, #f7faff);
background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
border-color: #d5e2f9;
box-shadow: 0 10px 24px rgba(15, 42, 84, 0.08);
}
.section-abschluss {
@@ -198,6 +209,23 @@ h1 {
font-size: 13px;
}
.section-itsetup .section-head {
margin: -14px -14px 16px;
padding: 12px 14px;
border-bottom: 1px solid #d5e2f9;
background: #eef4ff;
border-top-left-radius: 14px;
border-top-right-radius: 14px;
}
.section-itsetup .section-head h2 {
color: #1f376b;
}
.section-itsetup .section-head p {
color: #5e7088;
}
.grid-2 {
display: grid;
grid-template-columns: 1fr 1fr;
@@ -224,6 +252,107 @@ h1 {
margin-bottom: 0;
}
.section-itsetup .field-group {
border: 1px solid #d7e0ea;
border-radius: 14px;
background: #ffffff;
padding: 14px;
}
.section-itsetup .field-group.hidden {
display: none;
}
.section-itsetup .field:not(.field-full) {
border: 1px solid #d7e0ea;
border-radius: 14px;
background: #ffffff;
padding: 12px;
min-height: 118px;
display: flex;
flex-direction: column;
box-shadow: 0 4px 14px rgba(17, 52, 95, 0.04);
}
.section-itsetup .field:not(.field-full) input,
.section-itsetup .field:not(.field-full) select,
.section-itsetup .field:not(.field-full) textarea {
margin-top: auto;
}
.section-itsetup .field.field-full:not(.checkbox-list):not(.inline-check) {
border: 1px solid #d7e0ea;
border-radius: 14px;
background: #ffffff;
padding: 12px;
box-shadow: 0 4px 14px rgba(17, 52, 95, 0.04);
}
.itsetup-checklist-panel {
border: 1px solid #d7e0ea;
border-radius: 12px;
overflow: hidden;
background: #ffffff;
padding: 0;
box-shadow: 0 4px 10px rgba(17, 52, 95, 0.04);
}
.itsetup-checklist-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 12px 14px;
background: linear-gradient(180deg, #edf3ff, #e5eeff);
border-bottom: 1px solid #cad8f3;
}
.itsetup-checklist-head h3 {
margin: 0;
font-size: 21px;
line-height: 1.2;
font-weight: 700;
color: #1f376b;
}
.checklist-toggle-btn {
appearance: none;
border: 1px solid #6d86ca;
background: linear-gradient(180deg, #ffffff, #e9f0ff);
color: #14315f;
border-radius: 10px;
padding: 8px 12px;
font: inherit;
font-size: 12px;
font-weight: 700;
cursor: pointer;
line-height: 1;
min-height: 36px;
white-space: nowrap;
box-shadow: 0 4px 10px rgba(23, 54, 109, 0.10);
transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}
.checklist-toggle-btn:hover {
background: linear-gradient(180deg, #ffffff, #dfe9ff);
border-color: #5d79c3;
box-shadow: 0 6px 14px rgba(23, 54, 109, 0.14);
}
.checklist-toggle-btn:focus-visible {
outline: 3px solid rgba(0, 0, 120, 0.16);
outline-offset: 2px;
}
.checklist-toggle-btn:active {
transform: translateY(1px);
}
.itsetup-checklist-body {
padding: 0;
background: #ffffff;
}
label {
display: block;
font-weight: 600;
@@ -305,6 +434,95 @@ select:focus {
break-inside: avoid;
}
.itsetup-checklist-body > div {
margin: 0;
padding: 0;
border: 0;
border-radius: 0;
background: #ffffff;
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: 0;
row-gap: 0;
}
.itsetup-checklist-body > [id^="id_"] {
display: grid !important;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
column-gap: 0 !important;
row-gap: 0 !important;
}
.itsetup-checklist-body > [id^="id_"].cols-3 {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
}
.itsetup-checklist-body > div > div {
margin: 0;
border-bottom: 1px solid #e6edf7;
min-width: 0;
}
.itsetup-checklist-body > div > div label {
display: flex;
align-items: flex-start;
gap: 10px;
margin: 0;
padding: 8px 10px;
border: 0;
border-radius: 0;
background: #ffffff;
font-weight: 500;
font-size: 14px;
line-height: 1.25;
min-height: 100%;
min-width: 0;
overflow-wrap: anywhere;
}
.itsetup-checklist-body > div > div:nth-child(odd) {
border-right: 1px solid #e6edf7;
}
.itsetup-checklist-body > [id^="id_"].cols-3 > div:nth-child(odd) {
border-right: 0;
}
.itsetup-checklist-body > [id^="id_"].cols-3 > div:not(:nth-child(3n)) {
border-right: 1px solid #e6edf7;
}
.itsetup-checklist-body > div > div:last-child,
.itsetup-checklist-body > div > div:nth-last-child(2):nth-child(odd) {
border-bottom: 0;
}
.itsetup-checklist-body > [id^="id_"].cols-3 > div:last-child,
.itsetup-checklist-body > [id^="id_"].cols-3 > div:nth-last-child(2):nth-child(3n-1),
.itsetup-checklist-body > [id^="id_"].cols-3 > div:nth-last-child(3):nth-child(3n-2) {
border-bottom: 0;
}
.itsetup-checklist-body > div > div input[type="checkbox"] {
width: 16px;
height: 16px;
min-height: auto;
margin: 1px 0 0;
padding: 0;
accent-color: var(--brand);
box-shadow: none;
}
.itsetup-checklist-panel .hint,
.itsetup-checklist-panel .errorlist {
margin: 0;
padding: 10px 14px 12px;
}
.field-group .grid-2 > .field:only-child {
grid-column: 1 / -1;
}
.hint {
color: var(--muted);
font-size: 12px;