Auto hide/show doesn't make sense on the login page since there is no menu.  We check if the page is loggin by determining if the toggle-sidebar is hidden. If it is  hidden don't do anything. If it is showing then function as before.  I also removed width: 90% and width: calc(100% - 35px); for two reasons:  there should only be one, not both; and the breadcrumbs width should be determined by the breadcrumb trail.