carroussel thumbnial vertical

This commit is contained in:
2025-06-06 10:44:17 +02:00
parent 72699f362e
commit 8933199a16
2 changed files with 110 additions and 60 deletions
+24 -25
View File
@@ -5841,12 +5841,14 @@ svg.ext {
width: 80%;
}
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel {
display: block;
display: flex;
margin: auto;
text-align: center;
}
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .main-image-container {
position: relative;
flex: 1;
max-width: 600px;
overflow: hidden;
width: 100%;
object-fit: contain;
@@ -5865,10 +5867,10 @@ svg.ext {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: #818181;
background: none;
border-radius: 50%;
padding: 5px 10px;
color: white;
color: black;
cursor: pointer;
}
content .page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .main-image-container .arrow.left {
@@ -5882,36 +5884,21 @@ content .page-node-type-ressource .type-les-projets-en-images.layout__region--to
font-family: sans-serif;
}
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .thumbnails-wrapper {
position: relative;
max-width: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .thumbnails-wrapper .thumb-arrow {
cursor: pointer;
padding: 5px 10px;
background: #00aaff;
color: white;
border-radius: 50%;
user-select: none;
z-index: 2;
}
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .thumbnails-wrapper .thumb-arrow.left {
margin-right: 10px;
}
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .thumbnails-wrapper .thumb-arrow.right {
margin-left: 10px;
max-height: 500px;
overflow: hidden;
}
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .thumbnails-wrapper .thumbnails {
display: flex;
flex-direction: column;
gap: 10px;
overflow-x: auto;
overflow-y: auto;
overflow-x: hidden;
scroll-behavior: smooth;
max-width: 100%;
max-height: 400px;
padding: 10px 0;
scrollbar-width: none;
}
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .thumbnails-wrapper .thumbnails::-webkit-scrollbar {
display: none;
@@ -5926,6 +5913,18 @@ content .page-node-type-ressource .type-les-projets-en-images.layout__region--to
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .thumbnails-wrapper .thumbnails img.active {
border-color: #00aaff;
}
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .thumbnails-wrapper .thumb-arrow {
cursor: pointer;
padding: 5px;
background: #00aaff;
color: white;
border-radius: 50%;
user-select: none;
margin: 5px 0;
}
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .thumbnails-wrapper .thumb-arrow.left, .page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .thumbnails-wrapper .thumb-arrow.right {
margin: 0;
}
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .field__items {
display: none;
}