Loheide-eu-mitarbeiterplatt.../resources/css/filament/admin/theme.css
Friederich Loheide c495dfa1cb
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m29s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m31s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 3m56s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 4m2s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 5m20s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 5m22s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 4m42s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 4m41s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m18s
Backend: eigenes kompaktes Theme, Übersicht, Cluster mit Unterseiten, Plugin-Liste
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 20:50:17 +00:00

138 lines
2.6 KiB
CSS

/*
* Eigenes Backend-Theme: Filament-Basis, kompakter und in der Schrift des Portals.
* Tailwind-Klassen in eigenen Admin-Ansichten funktionieren dadurch ebenfalls.
*/
@import '../../../../vendor/filament/filament/resources/css/theme.css';
@import '../../fonts.css';
@source '../../../../app/Filament/**/*';
@source '../../../../resources/views/filament/**/*';
@source '../../../../plugins-core/*/src/Filament/**/*';
@source '../../../../plugins-core/*/resources/views/**/*';
@theme {
--font-sans: 'Inter Variable', ui-sans-serif, system-ui, sans-serif;
}
:root {
--sidebar-width: 15.5rem;
}
html {
font-feature-settings: 'cv11', 'ss01';
}
/* ——— Seitenleiste: dichter, Gruppen als kleine Überschriften ——— */
.fi-sidebar-nav {
@apply gap-y-5 px-4 py-5;
}
.fi-sidebar-nav-groups {
@apply gap-y-5;
}
.fi-sidebar-group-btn {
@apply px-2 py-1;
}
.fi-sidebar-group-label {
@apply text-[11px] font-semibold tracking-wider uppercase;
}
.fi-sidebar-group-items,
.fi-sidebar-group {
@apply gap-y-0.5;
}
.fi-sidebar-item-btn {
@apply gap-x-2.5 px-2 py-1.5;
& > .fi-icon {
@apply size-[18px];
}
}
.fi-sidebar-item-label {
@apply text-[13px];
}
/* ——— Kopf der Seiten ——— */
.fi-header-heading {
@apply text-xl font-semibold tracking-tight sm:text-2xl;
}
.fi-header-subheading {
@apply text-sm;
}
.fi-page-header-main-ctn {
@apply gap-y-5 py-6;
}
/* ——— Abschnitte und Formulare: weniger Luft ——— */
.fi-section-header {
@apply px-5 py-3.5;
}
.fi-section-content {
@apply p-5;
}
.fi-section-header-heading {
@apply text-[15px];
}
.fi-section-header-description {
@apply text-[13px];
}
.fi-sc-form,
.fi-sc {
@apply gap-5;
}
.fi-fo-field-label-content {
@apply text-[13px];
}
.fi-fo-field-wrp-helper-text,
.fi-sc-text {
@apply text-xs;
}
/* ——— Tabellen: dichter ——— */
.fi-ta-header-cell {
@apply py-2.5 text-[13px];
}
.fi-ta-text:not(.fi-inline),
.fi-ta-icon:not(.fi-inline),
.fi-ta-color:not(.fi-inline),
.fi-ta-image:not(.fi-inline),
.fi-ta-toggle:not(.fi-inline) {
@apply py-2.5;
}
.fi-ta-cell:has(.fi-ta-actions),
.fi-ta-cell:has(.fi-ta-record-checkbox) {
@apply py-2.5;
}
.fi-ta-text-item,
.fi-ta-text {
@apply text-[13px];
}
/* ——— Oberleiste ——— */
.fi-topbar {
@apply h-14;
}
/* Nur-Lesen-Felder, die wie Text aussehen sollen (z. B. Namen in Tabellen-Repeatern) */
.ih-plain .fi-input-wrp {
@apply bg-transparent shadow-none ring-0;
}
.ih-plain .fi-input {
@apply cursor-default ps-0 font-medium;
}