carroussel thumbnial vertical manque changement visuel fleche thumbnail
This commit is contained in:
+53
-39
@@ -5841,64 +5841,90 @@ 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: flex;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 10fr;
|
||||
gap: 1.5rem;
|
||||
justify-content: center;
|
||||
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-block {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.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;
|
||||
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 img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: auto;
|
||||
object-fit: contain;
|
||||
transition: transform 0.3s ease-in-out;
|
||||
border: none;
|
||||
}
|
||||
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .main-image-container img.animate {
|
||||
transform: scale(1.02);
|
||||
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .main-image-container .caption {
|
||||
margin-top: 1rem;
|
||||
font-family: sans-serif;
|
||||
text-align: center;
|
||||
font-size: 1rem;
|
||||
color: #444;
|
||||
}
|
||||
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .main-image-container .arrow {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .arrow {
|
||||
display: none;
|
||||
font-size: 2rem;
|
||||
color: #333;
|
||||
background: none;
|
||||
border-radius: 50%;
|
||||
padding: 5px 10px;
|
||||
color: black;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
transition: background 0.3s ease;
|
||||
}
|
||||
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 {
|
||||
left: 10px;
|
||||
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .arrow:hover {
|
||||
background: #bbb;
|
||||
}
|
||||
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .main-image-container .arrow.right {
|
||||
right: 10px;
|
||||
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .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 .arrow.right {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .caption {
|
||||
margin-top: 10px;
|
||||
font-family: sans-serif;
|
||||
grid-column: 2;
|
||||
grid-row: 2;
|
||||
}
|
||||
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .thumbnails-wrapper {
|
||||
grid-column: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
max-height: 500px;
|
||||
overflow: hidden;
|
||||
max-height: 70vh;
|
||||
grid-row: 1/span 2;
|
||||
top: -30px;
|
||||
position: relative;
|
||||
}
|
||||
.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 .thumbnails {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
max-height: 100%;
|
||||
scroll-behavior: smooth;
|
||||
max-height: 400px;
|
||||
padding: 10px 0;
|
||||
}
|
||||
.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;
|
||||
@@ -5913,18 +5939,6 @@ 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user