/* * 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; }