#2009 ajout logo en css
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
											
										
									
								
							@@ -462,6 +462,21 @@ if($(".page-node-type-ressource").find(".ressources-video").length > 0){
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//ressources page projet
 | 
			
		||||
 | 
			
		||||
if($(".page-node-type-projet").length > 0){
 | 
			
		||||
	
 | 
			
		||||
	let art = $(".views-field-field-ressources-liees article");
 | 
			
		||||
 | 
			
		||||
	art.each(function(){
 | 
			
		||||
		let t = $(this).find("h2");
 | 
			
		||||
 | 
			
		||||
		$(t).clone().insertAfter($(this).find(".field_image"));
 | 
			
		||||
		$(t).remove();
 | 
			
		||||
	});
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//crop text for collection 
 | 
			
		||||
// $(".block-region-third .views-field-description__value").addClass("hidden_text");
 | 
			
		||||
// $(".block-region-third .views-field-description__value").on("click", function(){
 | 
			
		||||
 
 | 
			
		||||
@@ -697,34 +697,73 @@
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.page-node-type-projet{
 | 
			
		||||
    .block-region-third .views-element-container div div{
 | 
			
		||||
        padding: 0;
 | 
			
		||||
    }
 | 
			
		||||
    .block-region-third{
 | 
			
		||||
        #ressources-block_1{
 | 
			
		||||
            // padding: 0.5rem 1rem;
 | 
			
		||||
            .views-field-field-ressources-liees article{
 | 
			
		||||
                margin-bottom: 0;
 | 
			
		||||
                color: black;
 | 
			
		||||
                display: grid;
 | 
			
		||||
                grid-template-columns: 25% auto;
 | 
			
		||||
                
 | 
			
		||||
                .field-content{
 | 
			
		||||
                    ul{
 | 
			
		||||
                        li{
 | 
			
		||||
                            margin-bottom: 1rem;
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                .field_type_de_ressource{
 | 
			
		||||
                    display: none;
 | 
			
		||||
                }
 | 
			
		||||
                h2{
 | 
			
		||||
                .field_auteurs{
 | 
			
		||||
                    font-weight: 600;
 | 
			
		||||
                    grid-column: 1 / span 2;
 | 
			
		||||
                    grid-row: 1;
 | 
			
		||||
                    padding: 0;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                .field_sous_titre{
 | 
			
		||||
                    padding: 0;
 | 
			
		||||
                    font-style: italic;
 | 
			
		||||
                }
 | 
			
		||||
                h2{
 | 
			
		||||
                    font-weight: 400;
 | 
			
		||||
                    font-style: italic;
 | 
			
		||||
                    // grid-column: 1 / span 2;
 | 
			
		||||
                    // grid-row: 1;
 | 
			
		||||
                    font-size: $font-normal;
 | 
			
		||||
                    background-color: transparent;
 | 
			
		||||
                    padding: 0;
 | 
			
		||||
                    margin-top: 0;
 | 
			
		||||
                    a{
 | 
			
		||||
                    text-decoration: none;
 | 
			
		||||
                    }
 | 
			
		||||
                    
 | 
			
		||||
                }
 | 
			
		||||
                &>div{
 | 
			
		||||
                    grid-column: 1 / span 2;
 | 
			
		||||
                    .field_image{
 | 
			
		||||
                 .field_image{
 | 
			
		||||
                        position: relative;
 | 
			
		||||
                        float: left;
 | 
			
		||||
                        width: 45%;
 | 
			
		||||
                        margin-right: 5%;
 | 
			
		||||
                        padding: 0 !important;
 | 
			
		||||
                        
 | 
			
		||||
                    }
 | 
			
		||||
                &>div{
 | 
			
		||||
                    display: grid;
 | 
			
		||||
                    grid-template-columns: 25% auto;
 | 
			
		||||
                    align-items: center;
 | 
			
		||||
                    margin: 1rem 0;
 | 
			
		||||
                    grid-column-gap: 10px;
 | 
			
		||||
                    h2{
 | 
			
		||||
                        grid-column: 2;
 | 
			
		||||
                        margin: -.8rem 0 0 0;
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    .field_image{
 | 
			
		||||
                        grid-column: 1;
 | 
			
		||||
                    }
 | 
			
		||||
                    .field_sous_titre{
 | 
			
		||||
                        grid-column: 2;
 | 
			
		||||
                    }
 | 
			
		||||
                    .field_auteurs{
 | 
			
		||||
                        grid-column: 2;
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                // .views-field-field-image{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user