Spaces:
Running
Running
Update style/default/style.css
Browse files- style/default/style.css +23 -12
style/default/style.css
CHANGED
|
@@ -184,10 +184,18 @@ progress::-moz-progress-bar { background-color: #4682B4; }
|
|
| 184 |
flex-shrink: 0;
|
| 185 |
}
|
| 186 |
.widget-button:hover { background-color: rgba(242,240,239,0.7); }
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
.
|
| 190 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 191 |
|
| 192 |
.fake-fullscreen .widget-button,
|
| 193 |
:fullscreen .widget-button,
|
|
@@ -213,13 +221,19 @@ progress::-moz-progress-bar { background-color: #4682B4; }
|
|
| 213 |
padding: 0;
|
| 214 |
}
|
| 215 |
|
| 216 |
-
/* ── Mobile : boutons ── */
|
| 217 |
.ply-widget-container.mobile .widget-button { width: 24px; height: 24px; font-size: 12px; }
|
| 218 |
.ply-widget-container.mobile .help-toggle { font-size: 14px; }
|
| 219 |
-
.ply-widget-container.mobile .fullscreen-toggle { top: 8px; right: 8px; }
|
| 220 |
-
.ply-widget-container.mobile .help-toggle { top: 8px; right: 40px; }
|
| 221 |
-
.ply-widget-container.mobile .reset-camera-btn { top: 8px; right: 72px; }
|
| 222 |
-
.ply-widget-container.mobile .tooltips-toggle { top: 8px; right: 104px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 223 |
|
| 224 |
#application-canvas { width: 100%; height: 100%; display: block; }
|
| 225 |
html, body { margin: 0; padding: 0; height: 100%; }
|
|
@@ -379,8 +393,6 @@ html, body { margin: 0; padding: 0; height: 100%; }
|
|
| 379 |
display: flex;
|
| 380 |
}
|
| 381 |
|
| 382 |
-
/* Grid trick : image et bouton fermer partagent la même cellule →
|
| 383 |
-
le bouton se positionne dans le coin de l'image quelle que soit sa taille */
|
| 384 |
.ann-lb-content-wrap {
|
| 385 |
position: relative;
|
| 386 |
display: grid;
|
|
@@ -396,7 +408,6 @@ html, body { margin: 0; padding: 0; height: 100%; }
|
|
| 396 |
box-shadow: 0 8px 40px rgba(0,0,0,0.6);
|
| 397 |
grid-area: 1 / 1;
|
| 398 |
}
|
| 399 |
-
/* Bouton fermer positionné par le grid, sans position: absolute */
|
| 400 |
.ann-lb-close {
|
| 401 |
grid-area: 1 / 1;
|
| 402 |
align-self: start;
|
|
|
|
| 184 |
flex-shrink: 0;
|
| 185 |
}
|
| 186 |
.widget-button:hover { background-color: rgba(242,240,239,0.7); }
|
| 187 |
+
|
| 188 |
+
/* ── Positionnement — côté DROIT (défaut) ── */
|
| 189 |
+
.fullscreen-toggle { top: 12px; right: 12px; left: auto; }
|
| 190 |
+
.help-toggle { top: 12px; right: 52px; left: auto; font-size: 18px; }
|
| 191 |
+
.reset-camera-btn { top: 12px; right: 92px; left: auto; font-size: 18px; line-height: normal; padding: 0; }
|
| 192 |
+
.tooltips-toggle { top: 12px; right: 132px; left: auto; font-size: 18px; }
|
| 193 |
+
|
| 194 |
+
/* ── Positionnement — côté GAUCHE (classe btn-left sur .viewer-container) ── */
|
| 195 |
+
.btn-left .fullscreen-toggle { right: auto; left: 12px; }
|
| 196 |
+
.btn-left .help-toggle { right: auto; left: 52px; }
|
| 197 |
+
.btn-left .reset-camera-btn { right: auto; left: 92px; }
|
| 198 |
+
.btn-left .tooltips-toggle { right: auto; left: 132px; }
|
| 199 |
|
| 200 |
.fake-fullscreen .widget-button,
|
| 201 |
:fullscreen .widget-button,
|
|
|
|
| 221 |
padding: 0;
|
| 222 |
}
|
| 223 |
|
| 224 |
+
/* ── Mobile : boutons — côté droit (défaut) ── */
|
| 225 |
.ply-widget-container.mobile .widget-button { width: 24px; height: 24px; font-size: 12px; }
|
| 226 |
.ply-widget-container.mobile .help-toggle { font-size: 14px; }
|
| 227 |
+
.ply-widget-container.mobile .fullscreen-toggle { top: 8px; right: 8px; left: auto; }
|
| 228 |
+
.ply-widget-container.mobile .help-toggle { top: 8px; right: 40px; left: auto; }
|
| 229 |
+
.ply-widget-container.mobile .reset-camera-btn { top: 8px; right: 72px; left: auto; }
|
| 230 |
+
.ply-widget-container.mobile .tooltips-toggle { top: 8px; right: 104px; left: auto; }
|
| 231 |
+
|
| 232 |
+
/* ── Mobile : boutons — côté gauche ── */
|
| 233 |
+
.ply-widget-container.mobile .btn-left .fullscreen-toggle { right: auto; left: 8px; }
|
| 234 |
+
.ply-widget-container.mobile .btn-left .help-toggle { right: auto; left: 40px; }
|
| 235 |
+
.ply-widget-container.mobile .btn-left .reset-camera-btn { right: auto; left: 72px; }
|
| 236 |
+
.ply-widget-container.mobile .btn-left .tooltips-toggle { right: auto; left: 104px; }
|
| 237 |
|
| 238 |
#application-canvas { width: 100%; height: 100%; display: block; }
|
| 239 |
html, body { margin: 0; padding: 0; height: 100%; }
|
|
|
|
| 393 |
display: flex;
|
| 394 |
}
|
| 395 |
|
|
|
|
|
|
|
| 396 |
.ann-lb-content-wrap {
|
| 397 |
position: relative;
|
| 398 |
display: grid;
|
|
|
|
| 408 |
box-shadow: 0 8px 40px rgba(0,0,0,0.6);
|
| 409 |
grid-area: 1 / 1;
|
| 410 |
}
|
|
|
|
| 411 |
.ann-lb-close {
|
| 412 |
grid-area: 1 / 1;
|
| 413 |
align-self: start;
|