add composer-unused, comprehensive docs, and project restructure
- Add icanhazstring/composer-unused as dev dependency for dependency hygiene checks
- Add German documentation (docs/) covering architecture, conventions, workflows, and developer checklists
- Add API layer (ApiAuth, ApiBootstrap, ApiResponse), audit, scheduler, custom fields, and SSO services
- Add Microsoft OIDC SSO, API token management, and user lifecycle features
- Add swagger-ui vendor integration and OpenAPI spec
- Add production Docker setup and bin/ scripts
- Update composer dependencies, config, templates, and frontend assets throughout
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 15:27:35 +01:00
|
|
|
@layer components {
|
2026-04-25 19:32:09 +02:00
|
|
|
/* ── Base notice — works inline (auth pages, edit pages) and in toasts ── */
|
|
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
|
--app-notice-accent: var(--app-muted-color);
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: calc(var(--app-spacing) * 0.625);
|
|
|
|
|
padding: calc(var(--app-spacing) * 0.75) calc(var(--app-spacing) * 0.875);
|
|
|
|
|
background: var(--app-card-background-color);
|
|
|
|
|
border: 1px solid var(--app-muted-border-color);
|
|
|
|
|
border-radius: calc(var(--app-border-radius) * 1.1);
|
|
|
|
|
color: var(--app-color);
|
|
|
|
|
font-size: var(--text-sm);
|
|
|
|
|
line-height: var(--leading-snug);
|
|
|
|
|
margin-bottom: var(--app-spacing);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Auto-injected variant icon for notices that don't carry an explicit
|
|
|
|
|
.notice-icon child (= every inline use site). Toasts emit the icon
|
|
|
|
|
in markup so they opt out via :has(). */
|
|
|
|
|
.notice:not(:has(> .notice-icon))::before {
|
|
|
|
|
content: "";
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
width: 28px;
|
|
|
|
|
height: 28px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
background: color-mix(in srgb, var(--app-notice-accent) 16%, transparent);
|
|
|
|
|
color: var(--app-notice-accent);
|
|
|
|
|
font-family: "Bootstrap-icons";
|
|
|
|
|
font-size: var(--text-base);
|
|
|
|
|
font-weight: var(--font-regular);
|
|
|
|
|
line-height: var(--leading-none);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notice[data-variant=success]:not(:has(> .notice-icon))::before { content: "\f26a"; }
|
|
|
|
|
.notice[data-variant=info]:not(:has(> .notice-icon))::before { content: "\f430"; }
|
|
|
|
|
.notice[data-variant=warning]:not(:has(> .notice-icon))::before { content: "\f33a"; }
|
|
|
|
|
.notice[data-variant=error]:not(:has(> .notice-icon))::before { content: "\f626"; }
|
|
|
|
|
|
|
|
|
|
/* Explicit icon span (used by toasts) — same look as the ::before pseudo. */
|
|
|
|
|
.notice .notice-icon {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
width: 28px;
|
|
|
|
|
height: 28px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
background: color-mix(in srgb, var(--app-notice-accent) 16%, transparent);
|
|
|
|
|
color: var(--app-notice-accent);
|
|
|
|
|
font-size: var(--text-base);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Message content slot. Inline notices without an explicit wrapper still
|
|
|
|
|
work because flex layout picks up the next direct child as content. */
|
|
|
|
|
.notice .notice-content {
|
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
color: var(--app-color);
|
|
|
|
|
min-width: 0;
|
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notice ul {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding-left: 0;
|
|
|
|
|
list-style: none;
|
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notice ul li {
|
|
|
|
|
list-style: none;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notice ul li + li {
|
|
|
|
|
margin-top: calc(var(--app-spacing) * 0.25);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notice p {
|
|
|
|
|
margin: 0;
|
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Variant accent — drives the icon-pill color. Text stays neutral. */
|
|
|
|
|
.notice[data-variant=success] { --app-notice-accent: var(--app-notice-success-color); }
|
|
|
|
|
.notice[data-variant=warning] { --app-notice-accent: var(--app-notice-warning-color); }
|
|
|
|
|
.notice[data-variant=info] { --app-notice-accent: var(--app-notice-info-color); }
|
|
|
|
|
.notice[data-variant=error] { --app-notice-accent: var(--app-notice-error-color); }
|
|
|
|
|
|
|
|
|
|
/* ── Toast stack: fixed top-right overlay for ephemeral notifications ── */
|
2026-03-19 19:43:55 +01:00
|
|
|
|
|
|
|
|
.app-toast-stack {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: calc(var(--app-spacing) * 1.5);
|
|
|
|
|
right: calc(var(--app-spacing) * 1.5);
|
|
|
|
|
z-index: 1100;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: calc(var(--app-spacing) * 0.5);
|
|
|
|
|
width: 400px;
|
|
|
|
|
max-width: calc(100vw - var(--app-spacing) * 3);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack:empty {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-19 19:43:55 +01:00
|
|
|
/* In admin layout: offset below topbar */
|
|
|
|
|
.app-container ~ .app-toast-stack,
|
|
|
|
|
body:has(.app-container) .app-toast-stack {
|
|
|
|
|
top: calc(52px + var(--app-spacing));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 576px) {
|
|
|
|
|
.app-toast-stack {
|
|
|
|
|
top: calc(var(--app-spacing) * 1);
|
|
|
|
|
right: calc(var(--app-spacing) * 1);
|
|
|
|
|
left: calc(var(--app-spacing) * 1);
|
|
|
|
|
width: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body:has(.app-container) .app-toast-stack {
|
|
|
|
|
top: calc(52px + var(--app-spacing) * 0.5);
|
|
|
|
|
right: calc(var(--app-spacing) * 0.5);
|
|
|
|
|
left: calc(var(--app-spacing) * 0.5);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-25 19:32:09 +02:00
|
|
|
/* Toast-only enhancements on top of the base .notice. */
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice {
|
|
|
|
|
margin: 0;
|
2026-04-25 19:32:09 +02:00
|
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
|
|
|
|
|
pointer-events: auto;
|
2026-03-19 19:43:55 +01:00
|
|
|
animation: toast-slide-in 250ms ease-out;
|
|
|
|
|
}
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice.toast-dismissing {
|
2026-03-19 19:43:55 +01:00
|
|
|
animation: toast-slide-out 200ms ease-in forwards;
|
|
|
|
|
}
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-03-19 19:43:55 +01:00
|
|
|
@keyframes toast-slide-in {
|
2026-03-19 19:58:15 +01:00
|
|
|
from { opacity: 0; transform: translateX(20px); }
|
2026-04-25 19:32:09 +02:00
|
|
|
to { opacity: 1; transform: translateX(0); }
|
2026-03-19 19:43:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes toast-slide-out {
|
2026-03-19 19:58:15 +01:00
|
|
|
from { opacity: 1; transform: translateX(0); }
|
2026-04-25 19:32:09 +02:00
|
|
|
to { opacity: 0; transform: translateX(20px); }
|
2026-03-19 19:43:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice,
|
|
|
|
|
.app-toast-stack .notice.toast-dismissing {
|
2026-03-19 19:43:55 +01:00
|
|
|
animation: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-25 19:32:09 +02:00
|
|
|
/* ── Progress bar timer (toast only) ─────────────────────────────────── */
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice.flash-timed::after {
|
2026-02-04 23:31:53 +01:00
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
bottom: 0;
|
2026-03-19 19:43:55 +01:00
|
|
|
height: 2px;
|
2026-02-04 23:31:53 +01:00
|
|
|
width: 100%;
|
2026-04-25 19:32:09 +02:00
|
|
|
background: var(--app-notice-accent);
|
2026-02-04 23:31:53 +01:00
|
|
|
transform-origin: left;
|
|
|
|
|
transform: scaleX(0);
|
|
|
|
|
animation: flash-progress var(--flash-timeout, 4000ms) linear forwards;
|
2026-04-25 19:32:09 +02:00
|
|
|
opacity: 0.6;
|
2026-03-19 19:43:55 +01:00
|
|
|
}
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice.flash-timed:hover::after {
|
2026-02-04 23:31:53 +01:00
|
|
|
animation-play-state: paused;
|
2026-03-19 19:43:55 +01:00
|
|
|
}
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-03-19 19:43:55 +01:00
|
|
|
@keyframes flash-progress {
|
|
|
|
|
from { transform: scaleX(0); }
|
2026-04-25 19:32:09 +02:00
|
|
|
to { transform: scaleX(1); }
|
2026-03-19 19:43:55 +01:00
|
|
|
}
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-03-19 19:43:55 +01:00
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice.flash-timed::after {
|
2026-03-19 19:43:55 +01:00
|
|
|
animation: none;
|
2026-02-04 23:31:53 +01:00
|
|
|
}
|
2026-03-19 19:43:55 +01:00
|
|
|
}
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-04-25 19:32:09 +02:00
|
|
|
/* ── Dismiss button (toast only) ─────────────────────────────────────── */
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-04-25 19:32:09 +02:00
|
|
|
.app-toast-stack .notice .notice-dismiss-form {
|
|
|
|
|
margin: 0;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-toast-stack .notice .notice-dismiss {
|
2026-03-19 19:43:55 +01:00
|
|
|
border: none !important;
|
|
|
|
|
background: transparent;
|
2026-04-25 19:32:09 +02:00
|
|
|
color: var(--app-muted-color);
|
2026-03-19 19:58:15 +01:00
|
|
|
opacity: 0.6;
|
2026-03-19 19:43:55 +01:00
|
|
|
cursor: pointer;
|
2026-04-25 19:32:09 +02:00
|
|
|
padding: 4px 6px;
|
2026-03-22 15:47:55 +01:00
|
|
|
line-height: var(--leading-none);
|
2026-03-19 19:43:55 +01:00
|
|
|
flex-shrink: 0;
|
2026-04-25 19:32:09 +02:00
|
|
|
border-radius: 6px;
|
|
|
|
|
transition: opacity 120ms ease, background-color 120ms ease;
|
2026-03-19 19:43:55 +01:00
|
|
|
}
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-04-25 19:32:09 +02:00
|
|
|
.app-toast-stack .notice .notice-dismiss:hover,
|
|
|
|
|
.app-toast-stack .notice .notice-dismiss:focus-visible {
|
2026-03-19 19:43:55 +01:00
|
|
|
opacity: 1;
|
2026-04-25 19:32:09 +02:00
|
|
|
background: color-mix(in srgb, var(--app-color) 8%, transparent);
|
2026-03-19 19:43:55 +01:00
|
|
|
}
|
add composer-unused, comprehensive docs, and project restructure
- Add icanhazstring/composer-unused as dev dependency for dependency hygiene checks
- Add German documentation (docs/) covering architecture, conventions, workflows, and developer checklists
- Add API layer (ApiAuth, ApiBootstrap, ApiResponse), audit, scheduler, custom fields, and SSO services
- Add Microsoft OIDC SSO, API token management, and user lifecycle features
- Add swagger-ui vendor integration and OpenAPI spec
- Add production Docker setup and bin/ scripts
- Update composer dependencies, config, templates, and frontend assets throughout
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 15:27:35 +01:00
|
|
|
}
|