/* Only attached on this module's own front-end routes (see figli_compta_ledger_page_attachments()) -- real Drupal admin pages (/admin/*, node edit forms, etc.) keep all of this as normal. Previously the top-bar rule below was unconditional (attached on every page via admin_chrome), on the assumption that core Navigation's top bar (`.top-bar`) always renders empty -- true on our own pages (no blocks placed there, so whitespace text nodes from the Twig loop scaffolding defeat its own `:not(:empty)` visibility check), but wrong on entity edit forms, where Gin puts the page's local actions (the Save button included) *inside* `.top-bar` -- hiding it there hid Save itself, not just an empty bar. */ .top-bar { display: none !important; } .top-bar ~ .dialog-off-canvas-main-canvas { margin-block-start: 0 !important; } /* The core Navigation module's admin sidebar (#admin-toolbar, ~65px fixed rail) + its collapsed-state control bar and overlay. */ #admin-toolbar, .admin-toolbar-control-bar, .admin-toolbar-overlay { display: none !important; } .dialog-off-canvas-main-canvas { margin-inline-start: 0 !important; }