debug slide actus /home

This commit is contained in:
2025-10-07 18:20:19 +02:00
parent 601b122fcc
commit 128c22a93c
4 changed files with 25 additions and 35 deletions
File diff suppressed because one or more lines are too long
+2 -18
View File
@@ -2732,26 +2732,10 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
width: 100%; width: 100%;
margin: auto; margin: auto;
} }
.block-views-blockactus-block-1 .view-id-actus .views-row {
width: 30vw !important;
margin-left: 1rem;
}
@media (max-width: 1200px) {
.block-views-blockactus-block-1 .view-id-actus .views-row {
width: 50vw !important;
}
}
.block-views-blockactus-block-1 .view-id-actus .views-row:first-of-type {
padding-left: 15%;
}
@media (max-width: 1200px) {
.block-views-blockactus-block-1 .view-id-actus .views-row:first-of-type {
padding-left: 16%;
}
}
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite { .block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite {
width: 100%; width: 90%;
height: 100%; height: 100%;
margin: auto;
} }
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite > .entete_actu { .block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite > .entete_actu {
display: flex; display: flex;
+5 -4
View File
@@ -160,14 +160,15 @@ jQuery(document).ready(function($){
}); });
$(document).ready(function(){ $(document).ready(function(){
$('.view-id-actus.view-display-id-block_1 ').slick({ $('.view-id-actus.view-display-id-block_1').slick({
slidesToShow: 1, slidesToShow: 3,
slidesToScroll: 1, slidesToScroll: 1,
// dots: true, dots: true,
arrows: true, arrows: true,
// centerMode: true, // centerMode: true,
draggable: true, draggable: true,
centerPadding: '100px', // centerPadding: '100px',
infinite: false,
responsive: [ responsive: [
{ {
breakpoint: 810, breakpoint: 810,
@@ -13,21 +13,26 @@
.view-id-actus{ .view-id-actus{
width: 100%; width: 100%;
margin: auto; margin: auto;
// padding: 2rem;
// .slick-slide{
// width: 30% !important;
// }
.views-row{ .views-row{
width: 30vw !important; // width: 30vw !important;
margin-left: 1rem; // margin-left: 1rem;
@media (max-width: 1200px) { // @media (max-width: 1200px) {
width: 50vw !important; // width: 50vw !important;
} // }
&:first-of-type{ // &:first-of-type{
padding-left: 15%; // padding-left: 5%;
@media (max-width: 1200px) { // @media (max-width: 1200px) {
padding-left: 16%; // padding-left: 6%;
} // }
} // }
.node-type-actualite{ .node-type-actualite{
width: 100%; width: 90%;
height: 100%; height: 100%;
margin: auto;
> .entete_actu{ > .entete_actu{
display: flex; display: flex;
flex-direction: column; flex-direction: column;