Ajouter le mode Comparer à barre glissante et retirer le mode « les deux »
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -57,6 +57,13 @@
|
||||
html, body { height: 100%; overflow: hidden; background: var(--bg); color: var(--text);
|
||||
font: var(--fs-md)/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
|
||||
#map { position: absolute; inset: 0; background: var(--bg); }
|
||||
/* Mode Comparer : barre glissante qui sépare les deux couches. */
|
||||
#compareBar { position: fixed; top: 0; bottom: 0; width: 4px; margin-left: -2px; z-index: var(--z-map-ui);
|
||||
background: var(--surface); box-shadow: var(--shadow-sm); cursor: ew-resize; touch-action: none; }
|
||||
#compareBar span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
|
||||
width: 36px; height: 36px; border-radius: var(--r-full); display: flex; align-items: center;
|
||||
justify-content: center; background: var(--surface); color: var(--text); border: 1px solid var(--border);
|
||||
box-shadow: var(--shadow-sm); font-size: var(--fs-lg); }
|
||||
.leaflet-container { background: var(--bg); font: inherit; }
|
||||
/* Fond OSM assombri pour laisser ressortir les rendus LiDAR. Filtre posé sur
|
||||
le conteneur de la couche, pas sur chaque tuile : même rendu (opérations
|
||||
@ -129,13 +136,11 @@ input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border-radius
|
||||
gap: var(--sp-2); padding: var(--sp-1) 0; }
|
||||
.base-row .base-ctl { grid-column: 2 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 40px;
|
||||
gap: var(--sp-2); align-items: center; }
|
||||
/* Affichage : une couche principale, la précision seule ou superposée. */
|
||||
/* Affichage : une couche principale, la précision seule ou en comparaison. */
|
||||
.view-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
|
||||
gap: 8px; padding: 8px 4px 4px; border-top: 1px solid var(--border); margin-top: 4px; }
|
||||
.view-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
|
||||
.view-row .layer-name { color: var(--text); }
|
||||
.prec-ctl { display: grid; grid-template-columns: auto minmax(0, 1fr) 34px; gap: 8px;
|
||||
align-items: center; padding: 6px 4px 0; font-size: var(--fs-xs); color: var(--muted); }
|
||||
.prec-legend { padding: 8px 4px 2px; }
|
||||
.prec-bar { display: grid; grid-template-columns: repeat(16, 1fr); height: 10px;
|
||||
border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
|
||||
|
||||
Reference in New Issue
Block a user