Merge branch 'master' of gogs-figureslibres.io:bachir/popsu-d9
This commit is contained in:
		 Submodule web/profiles/d8-starterkit-profile updated: 179aa99415...5069345d9d
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -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
									
								
								web/themes/custom/popsu/sass/pages/_presse.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								web/themes/custom/popsu/sass/pages/_presse.scss
									
									
									
									
									
										Normal file
									
								
							@@ -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;
 | 
			
		||||
            }
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -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;
 | 
			
		||||
 
 | 
			
		||||
@@ -795,6 +795,17 @@
 | 
			
		||||
				padding-left: .3rem;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		#node\:field_lien{
 | 
			
		||||
			.field_lien{
 | 
			
		||||
				a{
 | 
			
		||||
					background: transparent;
 | 
			
		||||
					color: black;
 | 
			
		||||
					svg{
 | 
			
		||||
						visibility: hidden;
 | 
			
		||||
					}
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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{
 | 
			
		||||
 
 | 
			
		||||
@@ -35,4 +35,5 @@
 | 
			
		||||
@import "pages/archives";
 | 
			
		||||
@import "pages/node-evenement-actu";
 | 
			
		||||
@import "pages/themes";
 | 
			
		||||
@import "pages/presse";
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user