I am looking for a solution to the problem. There is a small piece of js code for opening-closing side navigation bar. It is necessary to change-add the code so that when opening.sidenav the background is darkened, when closed it returns to its original state. The code is here - http://javascript.ru/forum/site/70434-zatemnenie-fona-po-kliku.html

  • at the end of the body add a div block to which the width and height should be 100%. position: fixed , background: rgba(183, 183, 183, .6); , disaply: none; , z-index: 100 . To your sidebar, set the css property to z-index-101; And when you open the bar, make the appearance of the block, tobish add disaply:block . - Tsyklop
  • It turned out, thank you big! - dupre

0