ソースを参照

design reportage photo

ouidade 9 ヶ月 前
コミット
8f0132dfbc

ファイルの差分が大きいため隠しています
+ 0 - 0
web/themes/custom/popsu/assets/css/styles.min.css


ファイルの差分が大きいため隠しています
+ 0 - 0
web/themes/custom/popsu/assets/js/main.js


+ 5 - 2
web/themes/custom/popsu/lib/script.js

@@ -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;
 	
 	});
 	
-});
+});
+

+ 52 - 6
web/themes/custom/popsu/sass/pages/_ressources.scss

@@ -873,14 +873,60 @@
 			margin: 0rem 0 1rem 0;
 		}
 	}
-	.ressources-reportage-photographique{
-		#node\:field_image{
-			display: none;
-		}
+}
 
-		#node\:field_type_de_ressource{
-			padding: 0;
 
+/// spec ressource reportage photo
+.page-node-type-ressource{
+	.ressources-reportage-photographique{
+		.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;
+			}
 		}
+	
 	}
 }

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません