mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Add print css for document list
Allow printing of the document list in a clean way * Hide sidebar, filter * Use full width
This commit is contained in:
		
							
								
								
									
										30
									
								
								src-ui/src/print.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								src-ui/src/print.scss
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
@media print {
 | 
			
		||||
  #sidebarMenu, .btn-toolbar {
 | 
			
		||||
    display: none !important
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .sticky-top {
 | 
			
		||||
    display: none;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  main, main.ml-sm-auto, main.mx-sm-auto {
 | 
			
		||||
    margin-left: 0 !important;
 | 
			
		||||
    margin-right: 0 !important;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  main.col-lg-10 {
 | 
			
		||||
    max-width: 100%;
 | 
			
		||||
    flex-basis: 100%;
 | 
			
		||||
    display: block;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .d-none.d-lg-table-cell { // always display ASN on print
 | 
			
		||||
    display: table-cell !important;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  app-document-list table {
 | 
			
		||||
    thead th:first-child, tbody td:first-child { // hide checkboxes
 | 
			
		||||
      display: none;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@@ -1,5 +1,6 @@
 | 
			
		||||
@import "theme";
 | 
			
		||||
@import "theme_dark";
 | 
			
		||||
@import "print";
 | 
			
		||||
@import "node_modules/bootstrap/scss/bootstrap";
 | 
			
		||||
@import "~@ng-select/ng-select/themes/default.theme.css";
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user