File tree Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 4242 }
4343}
4444
45+ .leaflet-top .leaflet-right {
46+ z-index : 1000 ;
47+ }
4548
4649img .statut_icon {
4750 width : 1rem ;
@@ -73,4 +76,4 @@ img.statut_icon {
7376 position : absolute;
7477 left : 50% ;
7578 top : 50% ;
76- }
79+ }
Original file line number Diff line number Diff line change @@ -118,6 +118,49 @@ p.imgDescription.main {
118118 padding-right : 0px ;
119119}
120120
121+ /* Slider temporel sur la carte */
122+
123+ # mapContainer .leaflet-bar .leaflet-control .leaflet-slider-control {
124+ margin : 0 0 0 10px !important ; /* Supprime les marges inutiles */
125+ /*margin-left: 10px !important;*/
126+ width : fit-content !important ; /* Adapte la largeur au contenu */
127+ min-width : 250px ; /* Pour éviter un trop petit encart */
128+ max-width : 100% ; /* Empêche le dépassement */
129+ height : auto !important ; /* Ajuste automatiquement la hauteur */
130+ display : flex;
131+ flex-direction : column;
132+ align-items : center;
133+ }
134+
135+ # mapContainer .leaflet-bottom .leaflet-left {
136+ display : flex;
137+ flex-direction : column-reverse;
138+ margin-bottom : 20px ;
139+ }
140+
141+ /* Optimisation pour les petits écrans */
142+ @media (max-width : 950px ) {
143+
144+ # mapContainer # contour-legend {
145+ margin-bottom : 80px ;
146+ }
147+
148+ # mapContainer .slider .slider-horizontal {
149+ width : 160px ;
150+ }
151+ }
152+
153+ @media (max-width : 400px ) {
154+
155+ # mapContainer # contour-legend {
156+ margin-bottom : 110px ;
157+ }
158+
159+ # mapContainer .slider .slider-horizontal {
160+ width : 160px ;
161+ }
162+ }
163+
121164# mapStat {
122165 text-align : center;
123166 padding-left : 0px ;
You can’t perform that action at this time.
0 commit comments