🎨 Modularize and refactor CSS: restructure styles into theme.css, base.css, utilities.css, and component-specific files (flux-overrides.css, custom.css, leaflet.css) to improve maintainability and align with the Einundzwanzig Design System.

This commit is contained in:
HolgerHatGarKeineNode
2026-01-23 23:16:09 +01:00
parent b30fec150c
commit fe92418dbb
9 changed files with 408 additions and 346 deletions

30
resources/css/base.css Normal file
View File

@@ -0,0 +1,30 @@
/**
* Base Layer Styles
*
* Grundlegende HTML-Element-Stile und Layout-Definitionen.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
button {
@apply cursor-pointer;
}
/* Grid layout for Flux components */
body:has(>[data-flux-main]) {
display: grid;
grid-template-rows: auto 1fr auto;
grid-template-columns: min-content minmax(0, 1fr) min-content;
grid-template-areas:
"header header header"
"sidebar main aside"
"sidebar footer aside";
}
}