mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	dunno
This commit is contained in:
		@@ -16,6 +16,32 @@
 | 
				
			|||||||
    <link rel="stylesheet" href="{{ url_for('static', filename='fonts/Material_design_icons/material-icons.css') }}">
 | 
					    <link rel="stylesheet" href="{{ url_for('static', filename='fonts/Material_design_icons/material-icons.css') }}">
 | 
				
			||||||
    <link rel="stylesheet" href="{{ url_for('static', filename='css/Materialize/materialize.min.css') }}">
 | 
					    <link rel="stylesheet" href="{{ url_for('static', filename='css/Materialize/materialize.min.css') }}">
 | 
				
			||||||
    <link rel="stylesheet" href="{{ url_for('static', filename='css/nopaque.css') }}">
 | 
					    <link rel="stylesheet" href="{{ url_for('static', filename='css/nopaque.css') }}">
 | 
				
			||||||
 | 
					    {% if current_user.is_authenticated %}
 | 
				
			||||||
 | 
					    <style>
 | 
				
			||||||
 | 
					      /*
 | 
				
			||||||
 | 
					       * ### Start sidenav-fixed offset ###
 | 
				
			||||||
 | 
					       * The sidenav-fixed class is used which causes the sidenav to be fixed and open
 | 
				
			||||||
 | 
					       * on large screens and hides to the regular functionality on smaller screens.
 | 
				
			||||||
 | 
					       * In order to prevent the sidenav to overlap the content, the content (in our
 | 
				
			||||||
 | 
					       * case header, main and footer) gets an offset equal to the width of the
 | 
				
			||||||
 | 
					       * sidenav.
 | 
				
			||||||
 | 
					      */
 | 
				
			||||||
 | 
					      @media only screen and (min-width : 993px) {
 | 
				
			||||||
 | 
					        header, main, footer {
 | 
				
			||||||
 | 
					          padding-left: 300px;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        .modal:not(.bottom-sheet) {
 | 
				
			||||||
 | 
					          left: 300px;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        .navbar-fixed > nav {
 | 
				
			||||||
 | 
					          width: calc(100% - 300px)
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      /* ### End sidenav-fixed offset ### */
 | 
				
			||||||
 | 
					    </style>
 | 
				
			||||||
 | 
					    {% endif %}
 | 
				
			||||||
    <script src="{{ url_for('static', filename='js/JSONPatch.js/jsonpatch.min.js') }}"></script>
 | 
					    <script src="{{ url_for('static', filename='js/JSONPatch.js/jsonpatch.min.js') }}"></script>
 | 
				
			||||||
    <script src="{{ url_for('static', filename='js/Dark_Reader/darkreader.js') }}"></script>
 | 
					    <script src="{{ url_for('static', filename='js/Dark_Reader/darkreader.js') }}"></script>
 | 
				
			||||||
    <script src="{{ url_for('static', filename='js/List.js/list.min.js') }}"></script>
 | 
					    <script src="{{ url_for('static', filename='js/List.js/list.min.js') }}"></script>
 | 
				
			||||||
@@ -172,30 +198,6 @@
 | 
				
			|||||||
    <script>
 | 
					    <script>
 | 
				
			||||||
      document.getElementById("sidenav-main").classList.remove("hide");
 | 
					      document.getElementById("sidenav-main").classList.remove("hide");
 | 
				
			||||||
    </script>
 | 
					    </script>
 | 
				
			||||||
    <style>
 | 
					 | 
				
			||||||
      /*
 | 
					 | 
				
			||||||
       * ### Start sidenav-fixed offset ###
 | 
					 | 
				
			||||||
       * The sidenav-fixed class is used which causes the sidenav to be fixed and open
 | 
					 | 
				
			||||||
       * on large screens and hides to the regular functionality on smaller screens.
 | 
					 | 
				
			||||||
       * In order to prevent the sidenav to overlap the content, the content (in our
 | 
					 | 
				
			||||||
       * case header, main and footer) gets an offset equal to the width of the
 | 
					 | 
				
			||||||
       * sidenav.
 | 
					 | 
				
			||||||
      */
 | 
					 | 
				
			||||||
      @media only screen and (min-width : 993px) {
 | 
					 | 
				
			||||||
        header, main, footer {
 | 
					 | 
				
			||||||
          padding-left: 300px;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        .modal:not(.bottom-sheet) {
 | 
					 | 
				
			||||||
          left: 300px;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        .navbar-fixed > nav {
 | 
					 | 
				
			||||||
          width: calc(100% - 300px)
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
      /* ### End sidenav-fixed offset ### */
 | 
					 | 
				
			||||||
    </style>
 | 
					 | 
				
			||||||
    {% endif %}
 | 
					    {% endif %}
 | 
				
			||||||
  </body>
 | 
					  </body>
 | 
				
			||||||
</html>
 | 
					</html>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user