fleche lightbox

This commit is contained in:
2025-03-21 16:11:41 +01:00
parent 578b3d2e17
commit 9dedde9ff1
11 changed files with 341 additions and 128 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1456,6 +1456,15 @@ footer {
width: fit-content;
padding-left: 0.5rem;
background: black;
display: flex;
justify-content: center;
flex: 0 0 40%;
margin-top: 1rem;
margin-bottom: 2rem !important;
color: white;
background: black;
text-transform: uppercase;
font-size: 0.6rem;
}
@media (max-width: 810px) {
#home .__container-deroulement .config_pages--type--deroulement .field_field_calendrier .file--application-pdf {
@@ -1963,21 +1972,28 @@ body {
cursor: pointer;
}
.prev, .next {
#lightbox .prev,
#lightbox .next {
position: absolute;
top: 50%;
color: white;
font-size: 30px;
transform: translateY(-50%);
z-index: 10;
cursor: pointer;
user-select: none;
}
.prev {
left: 30px;
#lightbox .prev img,
#lightbox .next img {
width: 40px; /* adapte si besoin */
height: 40px;
pointer-events: none; /* évite que l'image bloque le clic */
}
.next {
right: 30px;
#lightbox .prev {
left: 20px;
}
#lightbox .next {
right: 20px;
}
/*pages*/

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg1"
width="90.490662"
height="90.491997"
viewBox="0 0 90.490662 90.491995"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1">
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath393">
<path
d="M 0,0 H 1920 V 9000 H 0 Z"
transform="translate(-918.03445,-2163.9844)"
id="path393" />
</clipPath>
</defs>
<g
id="g1"
transform="translate(-1178.8006,-9024.7622)">
<g
id="g696">
<path
id="path392"
d="m 0,0 c -18.507,0 -33.509,15.003 -33.509,33.51 0,18.506 15.002,33.509 33.509,33.509 18.507,0 33.509,-15.003 33.509,-33.509 C 33.509,15.003 18.507,0 0,0 Z"
style="fill:none;stroke:#ffffff;stroke-width:0.85;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
transform="matrix(1.3333333,0,0,-1.3333333,1224.0459,9114.6875)"
clip-path="url(#clipPath393)" />
<path
id="path394"
d="M 0,0 -9.997,-8.944 0,-17.887"
style="fill:none;stroke:#ffffff;stroke-width:0.85;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
transform="matrix(1.3333333,0,0,-1.3333333,1228.3967,9058.0833)" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB