Files
vault171/app/assets/stylesheets/application.css
David Böhm 6f192274ab
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled
Big first commit
authentication-zero and first layout
2026-05-21 02:54:39 +02:00

37 lines
1.3 KiB
CSS

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