/* * This is a manifest file that'll be compiled into application.css. * * With Propshaft, assets are served efficiently without preprocessing steps. You can still include * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard * cascading order, meaning styles declared later in the document or manifest will override earlier ones, * depending on specificity. * * Consider organizing styles into separate files for maintainability. */ @media (min-width: 768px) { /* 1. Die Sidebar verkleinert sich flüssig auf 64px */ #desktop-sidebar-toggle:checked ~ aside { width: 4rem !important; /* md:w-16 */ } /* 2. Fehlerbehebung: Der rechte Inhaltsbereich wird beim Einklappen unsichtbar */ #desktop-sidebar-toggle:checked ~ aside .footer-collapse-content { opacity: 0 !important; visibility: hidden !important; transition: opacity 0.15s ease-in-out, visibility 0.15s ease-in-out; } /* 3. Die Standard-Navigations-Texte oben schrumpfen ebenfalls */ #desktop-sidebar-toggle:checked ~ aside .collapse-text { max-width: 0 !important; opacity: 0 !important; margin-left: 0 !important; } /* 4. Der Hauptinhalt rückt nach links nach */ #desktop-sidebar-toggle:checked ~ .main-content { padding-left: 4rem !important; } }