Remplacer la fiche de dalle flottante par une bulle et une fiche détaillée dans le panneau
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -58,13 +58,6 @@ html, body { height: 100%; overflow: hidden; background: var(--bg); color: var(-
|
||||
−30 % de CPU (moteur de rendu + GPU) en déplacement, mesuré sous Chrome. */
|
||||
.leaflet-tile-pane .leaflet-layer.base-dark { filter: brightness(0.38) contrast(1.1) saturate(0.7); }
|
||||
|
||||
.card { position: fixed; z-index: var(--z-panel); background: var(--surface); color: var(--text);
|
||||
border: 1px solid var(--border); border-radius: var(--r-md);
|
||||
box-shadow: var(--shadow-lg);
|
||||
backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
|
||||
/* Fiche de dalle : à droite du panneau (ordinateur), en haut (téléphone). */
|
||||
#tilecard { left: max(var(--sp-3), var(--panel-w)); top: 12px; width: 340px; max-width: calc(100vw - 24px);
|
||||
max-height: calc(100vh - 24px); overflow-y: auto; }
|
||||
.info-sec { margin-top: 10px; }
|
||||
.info-sec h4 { margin: 0 0 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em;
|
||||
text-transform: uppercase; color: var(--muted); }
|
||||
@ -76,10 +69,14 @@ html, body { height: 100%; overflow: hidden; background: var(--bg); color: var(-
|
||||
.info-dl:hover { background: color-mix(in srgb, var(--accent) 30%, transparent); }
|
||||
.rose-cap { font-size: var(--fs-xs); color: var(--text); line-height: 1.3; }
|
||||
.rose-cap span { color: var(--muted); font-size: var(--fs-xs); }
|
||||
.card-head { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
|
||||
.card-title { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
|
||||
.card-body { padding: 6px 8px 8px; max-height: min(60vh, 520px); overflow-y: auto; }
|
||||
.card-foot { display: flex; gap: 8px; padding: 8px 4px 2px; margin-top: 6px; border-top: 1px solid var(--border); }
|
||||
.tile-head .sec-title { margin: 0; flex: 1; }
|
||||
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--surface); color: var(--text);
|
||||
box-shadow: var(--shadow-lg); }
|
||||
.leaflet-popup-content-wrapper { border-radius: var(--r-md); border: 1px solid var(--border); }
|
||||
.leaflet-popup-content { margin: var(--sp-2) var(--sp-3); font-size: var(--fs-sm); line-height: 1.45; }
|
||||
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
|
||||
.tile-pop b { font-size: var(--fs-md); }
|
||||
.tile-pop .row { margin-top: var(--sp-2); }
|
||||
|
||||
/* --- composants communs --------------------------------------------------- */
|
||||
.btn, button { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
|
||||
@ -205,7 +202,6 @@ body.drawing .leaflet-container { cursor: crosshair !important; }
|
||||
background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: var(--r-sm);
|
||||
padding: 6px 8px; max-height: 130px; overflow-y: auto; white-space: pre-wrap;
|
||||
word-break: break-all; margin: 6px 0; }
|
||||
#tools button.accent { color: var(--accent); border-color: var(--accent); }
|
||||
#tools button.busy { color: var(--accent); border-color: var(--accent); }
|
||||
/* Cadres des dalles du run : orange pulsant = rendu en cours, bleu = en
|
||||
attente, rouge = échec. Les dalles faites n'ont pas de cadre. */
|
||||
@ -254,6 +250,7 @@ body.panel-collapsed { --panel-w: 84px; }
|
||||
#panel[data-sheet="closed"] { height: 72px; }
|
||||
#panel[data-sheet="half"] { height: 45vh; }
|
||||
#panel[data-sheet="full"] { height: calc(100vh - var(--sp-4)); }
|
||||
#panel[data-sheet="full"] { height: calc(100dvh - var(--sp-4)); }
|
||||
#panel[data-sheet="closed"] .panel-body { display: none; }
|
||||
#panelCollapse { display: none; }
|
||||
.sheet-grip { display: flex; justify-content: center; padding: var(--sp-2) 0 0; cursor: grab; touch-action: none; }
|
||||
|
||||
Reference in New Issue
Block a user