|
@@ -5841,64 +5841,90 @@ svg.ext {
|
|
width: 80%;
|
|
width: 80%;
|
|
}
|
|
}
|
|
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel {
|
|
.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;
|
|
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 {
|
|
|
|
|
|
+.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;
|
|
position: relative;
|
|
- flex: 1;
|
|
|
|
- max-width: 600px;
|
|
|
|
- overflow: hidden;
|
|
|
|
width: 100%;
|
|
width: 100%;
|
|
- object-fit: contain;
|
|
|
|
|
|
+ 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 {
|
|
|
|
+ flex: 1;
|
|
|
|
+ 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 {
|
|
.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%;
|
|
width: 100%;
|
|
- height: 100%;
|
|
|
|
|
|
+ height: auto;
|
|
object-fit: contain;
|
|
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;
|
|
background: none;
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
- padding: 5px 10px;
|
|
|
|
- color: black;
|
|
|
|
|
|
+ width: 40px;
|
|
|
|
+ height: 40px;
|
|
|
|
+ line-height: 40px;
|
|
|
|
+ text-align: center;
|
|
cursor: pointer;
|
|
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 {
|
|
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .carousel .caption {
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
font-family: sans-serif;
|
|
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 {
|
|
.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;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
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 {
|
|
.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;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
gap: 10px;
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
- overflow-x: hidden;
|
|
|
|
|
|
+ max-height: 100%;
|
|
scroll-behavior: smooth;
|
|
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 {
|
|
.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;
|
|
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 {
|
|
.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;
|
|
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 {
|
|
.page-node-type-ressource .type-les-projets-en-images.layout__region--top .block-region-top .block-entity-fieldnodefield-images .field__items {
|
|
display: none;
|
|
display: none;
|
|
}
|
|
}
|