Browse Source

popsu 1 2 europe

armansansd 2 years ago
parent
commit
f03974e29d

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/popsu/assets/css/styles.min.css


File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/popsu/assets/js/main.js


+ 8 - 1
web/themes/custom/popsu/lib/script.js

@@ -278,7 +278,14 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
 		
 	});
 	let elem = "<div class='main_logo'></div>"
-	$('#projets-block_2').prepend(elem);
+	
+	if( $("body").hasClass("programme-6") || $("body").hasClass("programme-27") ){
+		$('#projets-block_2').prepend(elem);
+	}else{
+		$('#projets-block_2').append(elem);
+		$(".main_logo").css("position","relative")
+		
+	}
 
 	// ouverture et fermeture des paragraphes
 	$(".field_titre").on("click", function(){

+ 4 - 4
web/themes/custom/popsu/sass/pages/_actu.scss

@@ -87,9 +87,9 @@
 				}
 				.programme-4{
 					article{
-						background: black;
+						background: $col-1;
 						.field_programme{
-							color: black;
+							color: $col-1;
 						}
 					}
 					
@@ -204,11 +204,11 @@
 				}
 				.programme-4{
 					article, h2{
-						color: black;
+						color: $col-1;
 					}
 					.field_programme{
 						a{
-							background: black;
+							background: $col-1;
 						}
 			
 					}

+ 15 - 3
web/themes/custom/popsu/sass/pages/_home.scss

@@ -83,7 +83,7 @@
 }
 .last-news .programme-4{
 	.views-field:not(.views-field-field-image){
-		background: black;
+		background: $col-1;
 	}
 }
 
@@ -249,11 +249,11 @@
 	}
 	.programme-4{
 		.views-field{
-			color: black;
+			color: $col-1;
 		}
 		.views-field-field-programme{
 			.field-content{
-				background:black ;
+				background:$col-1 ;
 			}
 		}
 	}
@@ -591,6 +591,18 @@
 			}
 		}
 	}
+	.programme-4{
+		// background: center / 50% no-repeat url(../images/POPSU_Europe.svg) white;
+		img{
+			width: 60%;
+		}
+		&:hover{
+			background: $col-1;
+			img{
+				display: none;
+			}
+		}
+	}
 	.programme-5{
 		// background: center / 45% no-repeat url(../images/POPSU_monde.svg) white;
 		img{

+ 1 - 1
web/themes/custom/popsu/sass/pages/_node-evenement-actu.scss

@@ -16,7 +16,7 @@
     }
     &.programme-4{
 		.field_programme{
-			background-color: $col-met;
+			background-color: $col-1;
 		}
     }
     &.programme-5{

+ 9 - 9
web/themes/custom/popsu/sass/pages/_programme.scss

@@ -39,7 +39,7 @@
 
         .programme-1{
             .views-field{
-                background: $col-1 !important;
+                background: $col-2 !important;
             }
         }
         .programme-2{
@@ -54,7 +54,7 @@
         }
         .programme-4{
             .views-field{
-                background: black;
+                background: $col-1;
             }
         }
         
@@ -155,7 +155,7 @@
     &.programme-1{
         article{
             h2,h3,h4,h5,h6,.field_titre{
-                color: $col-1;
+                color: $col-2;
             }
         }
         .main_logo{
@@ -169,7 +169,7 @@
             }
         }
         .main_logo{
-            background: center / contain no-repeat url(../../images/POPSU_2.svg);
+            background: center / contain no-repeat url(../../images/POPSU_1.svg);
         }
     }
     &.programme-3{
@@ -186,12 +186,12 @@
     &.programme-4{
         article{
             h2,h3,h4,h5,h6,.field_titre{
-                color: $col-met;
+                color: $col-1;
             }
         }
         
         .main_logo{
-            background: center / contain no-repeat url(../../images/POPSU_logo.svg);
+            background: center / contain no-repeat url(../../images/POPSU_2.svg);
         }
     }
     &.programme-5{
@@ -325,7 +325,7 @@
         }
         .programme-4{
             
-            background: $col-met;
+            background: $col-1;
         }
         .programme-5{
            
@@ -656,11 +656,11 @@
             }
             .programme-4{
                 .views-field{
-                    color: black;
+                    color: $col-1;
                 }
                 .views-field-field-programme, .views-field-title-1{
                     .field-content{
-                        background:black ;
+                        background:$col-1 ;
                     }
                 }
             }

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

@@ -34,10 +34,10 @@
 		}
 	}
 	.programme-4{
-		color: $col-met;
+		color: $col-1;
 		.views-field-field-programme{
 			.field-content{
-			background: $col-met;
+			background: $col-1;
 			color:white;
 			}
 		}

+ 4 - 4
web/themes/custom/popsu/sass/pages/_themes.scss

@@ -21,7 +21,7 @@
     }
     &.programme-4{
         .field_programme{
-            background: $col-met;
+            background: $col-1;
         }
     }
     &.programme-5{
@@ -440,7 +440,7 @@
 &.programme-4{
     .block-region-second{
         h2,h3,h4,h5,h6,.field_titre{
-            color: $col-met;
+            color: $col-1;
         }
     }
     
@@ -588,10 +588,10 @@
         }
         &.programme-4{
             h2{ 
-                color: black;
+                color: $col-1;
             }
             .field_programme{
-                background:black ;
+                background:$col-1 ;
                 
             }
         }

+ 4 - 4
web/themes/custom/popsu/sass/pages/partials/_header_footer.scss

@@ -59,16 +59,16 @@
 	.programme-4{
 		.views-field-field-programme{
 			.field-content{
-				background: $col-2;
+				background: $col-1;
 			}
 		}
 		.views-field{
-			color: $col-2;
+			color: $col-1;
 		}
 		.views-field-title > span{
-			color: $col-2;
+			color: $col-1;
 			&:hover{
-				background: $col-2;
+				background: $col-1;
 				color:white;
 			}
 		}

+ 4 - 4
web/themes/custom/popsu/sass/setup/_globals.scss

@@ -37,11 +37,11 @@ body{
 		}
 		&.programme-4{
 			#node\:title,.field_sous_titre,.field_intro{
-				color: black;
+				color: $col-1;
 			}
 			article{
 				h2,h3,h4,h5,h6,.field_titre{
-					color: black;
+					color: $col-1;
 				}
 			}
 		}
@@ -164,9 +164,9 @@ iframe{
 		}
 	}
 	.programme-4{
-		background: black;
+		background: $col-1;
 		&:hover{
-			color: black;
+			color: $col-1;
 		}
 	}
 	.programme-5{

Some files were not shown because too many files changed in this diff