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-03-19 19:43:55 +01:00
|
|
|
/* ── Toast stack: fixed top-right overlay for all flash messages ────── */
|
|
|
|
|
|
|
|
|
|
.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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Individual toast notice ─────────────────────────────────────────── */
|
|
|
|
|
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice {
|
2026-02-04 23:31:53 +01:00
|
|
|
--app-notice-border-color: var(--app-muted-border-color);
|
2026-03-19 19:58:15 +01:00
|
|
|
--app-notice-background-color: var(--app-background-color);
|
2026-02-04 23:31:53 +01:00
|
|
|
--app-notice-accent-color: var(--app-color);
|
2026-03-19 19:58:15 +01:00
|
|
|
--_toast-tint: transparent;
|
|
|
|
|
background: linear-gradient(var(--_toast-tint), var(--_toast-tint)), var(--app-background-color);
|
|
|
|
|
border: 1px solid color-mix(in srgb, var(--app-notice-border-color) 40%, transparent);
|
2026-03-19 19:43:55 +01:00
|
|
|
border-left: 3px solid var(--app-notice-border-color);
|
|
|
|
|
border-radius: var(--app-border-radius);
|
2026-03-19 19:58:15 +01:00
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
|
2026-03-19 19:43:55 +01:00
|
|
|
padding: calc(var(--app-spacing) * 0.625) calc(var(--app-spacing) * 0.875);
|
|
|
|
|
padding-right: calc(var(--app-spacing) * 0.5);
|
2026-02-04 23:31:53 +01:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
2026-03-19 19:43:55 +01:00
|
|
|
gap: calc(var(--app-spacing) * 0.75);
|
2026-02-04 23:31:53 +01:00
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
color: var(--app-notice-border-color);
|
2026-03-19 19:43:55 +01:00
|
|
|
font-size: 0.875rem;
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
pointer-events: auto;
|
2026-03-19 19:58:15 +01:00
|
|
|
margin: 0;
|
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); }
|
|
|
|
|
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); }
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Variant colors ──────────────────────────────────────────────────── */
|
|
|
|
|
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice strong {
|
2026-02-04 23:31:53 +01:00
|
|
|
color: var(--app-notice-accent-color);
|
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[data-variant=success] {
|
2026-02-04 23:31:53 +01:00
|
|
|
--app-notice-border-color: var(--app-notice-success-border-color);
|
2026-03-19 19:58:15 +01:00
|
|
|
--_toast-tint: var(--app-notice-success-background-color);
|
2026-02-04 23:31:53 +01:00
|
|
|
--app-notice-accent-color: var(--app-notice-success-color);
|
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[data-variant=warning] {
|
2026-02-04 23:31:53 +01:00
|
|
|
--app-notice-border-color: var(--app-notice-warning-border-color);
|
2026-03-19 19:58:15 +01:00
|
|
|
--_toast-tint: var(--app-notice-warning-background-color);
|
2026-02-04 23:31:53 +01:00
|
|
|
--app-notice-accent-color: var(--app-notice-warning-color);
|
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[data-variant=info] {
|
2026-02-04 23:31:53 +01:00
|
|
|
--app-notice-border-color: var(--app-notice-info-border-color);
|
2026-03-19 19:58:15 +01:00
|
|
|
--_toast-tint: var(--app-notice-info-background-color);
|
2026-02-04 23:31:53 +01:00
|
|
|
--app-notice-accent-color: var(--app-notice-info-color);
|
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[data-variant=error] {
|
2026-02-04 23:31:53 +01:00
|
|
|
--app-notice-border-color: var(--app-notice-error-border-color);
|
2026-03-19 19:58:15 +01:00
|
|
|
--_toast-tint: var(--app-notice-error-background-color);
|
2026-02-04 23:31:53 +01:00
|
|
|
--app-notice-accent-color: var(--app-notice-error-color);
|
2026-03-19 19:43:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Progress bar timer ──────────────────────────────────────────────── */
|
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%;
|
|
|
|
|
background: var(--app-notice-border-color);
|
|
|
|
|
transform-origin: left;
|
|
|
|
|
transform: scaleX(0);
|
|
|
|
|
animation: flash-progress var(--flash-timeout, 4000ms) linear forwards;
|
2026-03-19 19:43:55 +01:00
|
|
|
opacity: 0.7;
|
|
|
|
|
}
|
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); }
|
|
|
|
|
to { transform: scaleX(1); }
|
|
|
|
|
}
|
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-03-19 19:43:55 +01:00
|
|
|
/* ── Dismiss button ──────────────────────────────────────────────────── */
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice button[type=submit],
|
|
|
|
|
.app-toast-stack .notice button[type=button] {
|
2026-03-19 19:43:55 +01:00
|
|
|
border: none !important;
|
|
|
|
|
background: transparent;
|
|
|
|
|
color: var(--app-notice-border-color);
|
2026-03-19 19:58:15 +01:00
|
|
|
opacity: 0.6;
|
2026-03-19 19:43:55 +01:00
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 2px 4px;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice button[type=submit]:hover,
|
|
|
|
|
.app-toast-stack .notice button[type=button]:hover {
|
2026-03-19 19:43:55 +01:00
|
|
|
opacity: 1;
|
|
|
|
|
}
|
2026-02-04 23:31:53 +01:00
|
|
|
|
2026-03-19 19:43:55 +01:00
|
|
|
/* ── List formatting inside notices ──────────────────────────────────── */
|
2026-02-11 19:28:12 +01:00
|
|
|
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice ul {
|
2026-03-19 19:43:55 +01:00
|
|
|
margin: 0;
|
|
|
|
|
padding-left: 0;
|
|
|
|
|
}
|
2026-03-04 15:56:58 +01:00
|
|
|
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice li {
|
2026-02-11 19:28:12 +01:00
|
|
|
list-style: none;
|
2026-03-19 19:43:55 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-19 19:58:15 +01:00
|
|
|
.app-toast-stack .notice li:last-child {
|
2026-03-19 19:43:55 +01:00
|
|
|
margin: 0;
|
|
|
|
|
}
|
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
|
|
|
}
|