Przeglądaj źródła

Merge branch 'master' of gogs-figureslibres.io:bachir/popsu-d9

bach 1 rok temu
rodzic
commit
10c66385bd

+ 1 - 1
web/profiles/d8-starterkit-profile

@@ -1 +1 @@
-Subproject commit 179aa994156fa9c986cf9eb9262872abb9c651a2
+Subproject commit 5069345d9dffca8ff935d7a01d2bc97a1272f063

Plik diff jest za duży
+ 0 - 0
web/themes/custom/popsu/assets/css/styles.min.css


Plik diff jest za duży
+ 0 - 0
web/themes/custom/popsu/assets/js/main.js


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

@@ -428,9 +428,12 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
 if($(".page-node-type-static").length > 0){
 	$(".field_titre").on("click", function(){
 		let elem = $(this).find('div:not([class])').html();
-		console.log(elem);
 		$(".block-region-second").find(".field_titre").each(function(){
 			let title = $(this).html();
+			
+			if($(".field_groupe_documents").length > 0){
+				title = $($(title)[2]).html();
+			}
 			if(title == elem){
 				$('html,body').animate({
 					scrollTop: $(this).offset().top

+ 47 - 0
web/themes/custom/popsu/sass/pages/_presse.scss

@@ -0,0 +1,47 @@
+.page-node-type-static{
+    #node\:field_groupe_documents{
+        .paragraph--type--groupe-document{
+
+            display: flex;
+            flex-wrap: wrap;
+            flex-direction: row;
+            flex: 1;
+            justify-content: left;
+            align-items: center;
+
+            .field_titre{
+                font-weight: 800;
+                font-size: $font-medium;
+                margin: 1rem 0;
+            }
+            .paragraph{
+                .field_titre{
+                    font-weight: 400;
+                    font-size: $font-normal;
+                    margin: 0rem 0;
+                }
+            }
+            .field_vignette{
+                width: auto;
+                float: left;
+                height: 100%;
+                position: relative;
+                margin: 0 1rem 0 0;
+
+                display: flex;
+                flex: 1;
+                flex-direction: column;
+            }
+            .field_texte{
+                flex-wrap: wrap;
+                flex-direction: row;
+                display: flex;
+                flex: 1;
+            }
+            .field_document{
+                margin: .5rem 0;
+            }
+            
+        }
+    }
+}

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

@@ -79,6 +79,24 @@
             font-style: italic;
         }
     }
+    #programme_toc-block_16{
+        .views-row{
+            display: block;
+            a{
+                font-family: "duke";
+                font-size: $font-large;
+                text-transform: uppercase;
+                cursor: pointer;
+                transition: all 250ms;
+                line-height: 1.1;
+                margin-bottom: .5rem;
+                &:hover{
+                    padding: 0 0 0 .3rem;
+                    text-decoration: none;
+                }
+            }
+        }
+    }
     //galerie de la page popsu - top (copy de home)
     #programme_toc-block_5{
         background-color: white;

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

@@ -795,6 +795,17 @@
 				padding-left: .3rem;
 			}
 		}
+		#node\:field_lien{
+			.field_lien{
+				a{
+					background: transparent;
+					color: black;
+					svg{
+						visibility: hidden;
+					}
+				}
+			}
+		}
 	}
 
 }

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

@@ -418,7 +418,8 @@
             align-items: center;
             justify-items: center;
             // grid-template-columns: repeat(5 , 1fr);
-            grid-template-columns: repeat(2 , 1fr);
+            grid-template-columns: repeat(3 , 1fr);
+            margin-top: 0.5rem;
             .paragraph{
                 
                 .field_logo_partenaire{

+ 1 - 0
web/themes/custom/popsu/sass/styles.scss

@@ -35,4 +35,5 @@
 @import "pages/archives";
 @import "pages/node-evenement-actu";
 @import "pages/themes";
+@import "pages/presse";
 

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików