design reportage photo
This commit is contained in:
		
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -577,6 +577,8 @@ if($(".programme-878").length > 0){
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
////////// disable click droit souris
 | 
			
		||||
 | 
			
		||||
jQuery(document).ready(function () {
 | 
			
		||||
 | 
			
		||||
	//Disable cut copy paste
 | 
			
		||||
@@ -589,10 +591,11 @@ jQuery(document).ready(function () {
 | 
			
		||||
	
 | 
			
		||||
	//Disable mouse right click
 | 
			
		||||
	
 | 
			
		||||
	jQuery("body").on("contextmenu",function(e){
 | 
			
		||||
	jQuery("img").on("contextmenu",function(e){
 | 
			
		||||
	
 | 
			
		||||
	return false;
 | 
			
		||||
	
 | 
			
		||||
	});
 | 
			
		||||
	
 | 
			
		||||
});
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -873,14 +873,60 @@
 | 
			
		||||
			margin: 0rem 0 1rem 0;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/// spec ressource reportage photo
 | 
			
		||||
.page-node-type-ressource{
 | 
			
		||||
	.ressources-reportage-photographique{
 | 
			
		||||
		#node\:field_image{
 | 
			
		||||
			display: none;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		#node\:field_type_de_ressource{
 | 
			
		||||
			padding: 0;
 | 
			
		||||
 | 
			
		||||
		.block-region-second{
 | 
			
		||||
			display: flex;
 | 
			
		||||
			flex-direction: column;
 | 
			
		||||
			#node\:field_image{
 | 
			
		||||
				display: none;
 | 
			
		||||
			}
 | 
			
		||||
			#node\:field_programme{
 | 
			
		||||
				order: 1;
 | 
			
		||||
			}
 | 
			
		||||
			#node\:title{
 | 
			
		||||
				order: 2;
 | 
			
		||||
				margin-bottom: 1rem;
 | 
			
		||||
			}
 | 
			
		||||
			#node\:field_diaporama{
 | 
			
		||||
				order: 3;
 | 
			
		||||
				margin-bottom: 1rem;
 | 
			
		||||
				img{
 | 
			
		||||
					max-width: 800px;
 | 
			
		||||
					max-height: 800px;
 | 
			
		||||
					object-fit: contain;
 | 
			
		||||
					margin: auto;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
			#node\:field_type_de_ressource{
 | 
			
		||||
				padding: 0;
 | 
			
		||||
				order: 4;
 | 
			
		||||
			}
 | 
			
		||||
			#node\:field_auteurs{
 | 
			
		||||
				order: 5;
 | 
			
		||||
			}
 | 
			
		||||
 			#node\:field_sous_titre{
 | 
			
		||||
				order: 6;
 | 
			
		||||
			}
 | 
			
		||||
			#node\:field_date_de_parution{
 | 
			
		||||
				order: 8;
 | 
			
		||||
			}
 | 
			
		||||
			#node\:field_collections{
 | 
			
		||||
				order: 7;
 | 
			
		||||
			}
 | 
			
		||||
			#node\:body{
 | 
			
		||||
				order: 10;
 | 
			
		||||
				margin-top: 1rem;
 | 
			
		||||
			}
 | 
			
		||||
			#node\:field_theme{
 | 
			
		||||
				display: none;
 | 
			
		||||
				order: 9;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user