Spaces:
Running
Running
Update style/default/style.css
Browse files- style/default/style.css +225 -274
style/default/style.css
CHANGED
|
@@ -1,4 +1,8 @@
|
|
| 1 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
.ply-widget-container {
|
| 3 |
position: relative;
|
| 4 |
width: 100%;
|
|
@@ -34,6 +38,8 @@
|
|
| 34 |
border-radius: 0 !important;
|
| 35 |
background-color: black;
|
| 36 |
}
|
|
|
|
|
|
|
| 37 |
.viewer-container {
|
| 38 |
display: none;
|
| 39 |
position: absolute;
|
|
@@ -58,6 +64,8 @@
|
|
| 58 |
width: 100%;
|
| 59 |
height: 100%;
|
| 60 |
}
|
|
|
|
|
|
|
| 61 |
.ply-canvas {
|
| 62 |
width: 100%;
|
| 63 |
height: 100%;
|
|
@@ -75,6 +83,8 @@
|
|
| 75 |
width: 100vw;
|
| 76 |
height: 100vh;
|
| 77 |
}
|
|
|
|
|
|
|
| 78 |
.progress-dialog {
|
| 79 |
position: absolute;
|
| 80 |
top: 50%; left: 50%;
|
|
@@ -95,19 +105,11 @@ progress {
|
|
| 95 |
border-radius: 10px;
|
| 96 |
overflow: hidden;
|
| 97 |
}
|
| 98 |
-
progress::-webkit-progress-bar
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
background-color: #4682B4;
|
| 104 |
-
border-radius: 10px;
|
| 105 |
-
}
|
| 106 |
-
progress::-moz-progress-bar {
|
| 107 |
-
background-color: #4682B4;
|
| 108 |
-
border-radius: 10px;
|
| 109 |
-
}
|
| 110 |
-
/* Menu (instructions) content styling */
|
| 111 |
.menu-content {
|
| 112 |
display: none;
|
| 113 |
position: absolute;
|
|
@@ -124,29 +126,18 @@ progress::-moz-progress-bar {
|
|
| 124 |
z-index: 1010;
|
| 125 |
max-width: 90vw;
|
| 126 |
max-height: 90%;
|
| 127 |
-
overflow: scroll !important;
|
| 128 |
scrollbar-gutter: stable both-edges;
|
| 129 |
box-sizing: border-box;
|
| 130 |
}
|
| 131 |
-
.menu-content::-webkit-scrollbar
|
| 132 |
-
|
| 133 |
-
}
|
| 134 |
-
.menu-content::-webkit-scrollbar-thumb {
|
| 135 |
-
background: #bbbbbb;
|
| 136 |
-
border-radius: 8px;
|
| 137 |
-
}
|
| 138 |
-
.menu-content::-webkit-scrollbar-track {
|
| 139 |
-
background: #e7e7e7;
|
| 140 |
-
border-radius: 8px;
|
| 141 |
-
}
|
| 142 |
|
| 143 |
-
/* CLOSE BUTTON for menu-content - match tooltip-close style */
|
| 144 |
.menu-content .help-close {
|
| 145 |
position: absolute;
|
| 146 |
-
top: 5px;
|
| 147 |
-
|
| 148 |
-
width: 32px;
|
| 149 |
-
height: 32px;
|
| 150 |
background: #F2F0EF;
|
| 151 |
color: #333;
|
| 152 |
border: 1px solid #ccc;
|
|
@@ -156,7 +147,6 @@ progress::-moz-progress-bar {
|
|
| 156 |
display: flex;
|
| 157 |
align-items: center;
|
| 158 |
justify-content: center;
|
| 159 |
-
line-height: 1;
|
| 160 |
cursor: pointer;
|
| 161 |
z-index: 2;
|
| 162 |
transition: background 0.18s;
|
|
@@ -164,104 +154,69 @@ progress::-moz-progress-bar {
|
|
| 164 |
padding: 0;
|
| 165 |
}
|
| 166 |
.menu-content .help-close:hover,
|
| 167 |
-
.menu-content .help-close:focus {
|
| 168 |
-
background: #e0e0e0;
|
| 169 |
-
outline: none;
|
| 170 |
-
}
|
| 171 |
|
| 172 |
-
/*
|
| 173 |
-
.
|
| 174 |
position: absolute;
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
background: rgba(242,240,239,0.97);
|
| 179 |
-
color: #545454;
|
| 180 |
-
border: 1px solid #ddd;
|
| 181 |
-
border-radius: 6px;
|
| 182 |
-
padding: 20px 20px 16px 16px;
|
| 183 |
-
max-width: 340px;
|
| 184 |
-
width: 92vw;
|
| 185 |
-
min-width: 180px;
|
| 186 |
-
min-height: 60px;
|
| 187 |
-
max-height: 90%;
|
| 188 |
-
z-index: 20000;
|
| 189 |
-
display: none;
|
| 190 |
-
flex-direction: column;
|
| 191 |
-
align-items: flex-start;
|
| 192 |
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
| 193 |
-
overflow: scroll !important; /* Always show scrollbar */
|
| 194 |
-
scrollbar-gutter: stable both-edges;
|
| 195 |
-
box-sizing: border-box;
|
| 196 |
-
}
|
| 197 |
-
.tooltip-panel::-webkit-scrollbar {
|
| 198 |
-
width: 12px;
|
| 199 |
-
}
|
| 200 |
-
.tooltip-panel::-webkit-scrollbar-thumb {
|
| 201 |
-
background: #bbbbbb;
|
| 202 |
-
border-radius: 8px;
|
| 203 |
-
}
|
| 204 |
-
.tooltip-panel::-webkit-scrollbar-track {
|
| 205 |
-
background: #e7e7e7;
|
| 206 |
border-radius: 8px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 207 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
|
| 209 |
-
|
| 210 |
-
.
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
align-items: flex-start;
|
| 217 |
-
margin-top: 0;
|
| 218 |
-
}
|
| 219 |
-
.tooltip-close {
|
| 220 |
position: absolute;
|
| 221 |
-
top:
|
| 222 |
-
|
| 223 |
-
width: 32px;
|
| 224 |
-
height: 32px;
|
| 225 |
-
background: #F2F0EF;
|
| 226 |
color: #333;
|
| 227 |
-
border:
|
| 228 |
-
border-radius:
|
| 229 |
-
|
| 230 |
-
|
|
|
|
|
|
|
|
|
|
| 231 |
display: flex;
|
| 232 |
align-items: center;
|
| 233 |
justify-content: center;
|
| 234 |
-
line-height: 1;
|
| 235 |
-
cursor: pointer;
|
| 236 |
-
z-index: 2;
|
| 237 |
-
transition: background 0.18s;
|
| 238 |
-
box-sizing: border-box;
|
| 239 |
padding: 0;
|
| 240 |
}
|
| 241 |
-
.tooltip-close:hover,
|
| 242 |
-
.tooltip-close:focus {
|
| 243 |
-
background: #e0e0e0;
|
| 244 |
-
outline: none;
|
| 245 |
-
}
|
| 246 |
-
.tooltip-text {
|
| 247 |
-
margin-bottom: 10px;
|
| 248 |
-
font-size: 14px;
|
| 249 |
-
line-height: 1.4;
|
| 250 |
-
overflow-wrap: break-word;
|
| 251 |
-
word-break: break-word;
|
| 252 |
-
max-width: 100%;
|
| 253 |
-
}
|
| 254 |
-
.tooltip-image {
|
| 255 |
-
max-width: 100%;
|
| 256 |
-
max-height: 35vh;
|
| 257 |
-
border-radius: 4px;
|
| 258 |
-
margin-top: 5px;
|
| 259 |
-
display: block;
|
| 260 |
-
object-fit: contain;
|
| 261 |
-
box-sizing: border-box;
|
| 262 |
-
}
|
| 263 |
|
| 264 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 265 |
@media (max-width: 600px) {
|
| 266 |
.menu-content {
|
| 267 |
width: 85vw;
|
|
@@ -271,182 +226,178 @@ progress::-moz-progress-bar {
|
|
| 271 |
padding: 40px 18px 14px;
|
| 272 |
font-size: 14px;
|
| 273 |
}
|
| 274 |
-
.menu-content .help-close {
|
| 275 |
-
top: 8px;
|
| 276 |
-
right: 8px;
|
| 277 |
-
width: 26px;
|
| 278 |
-
height: 26px;
|
| 279 |
-
font-size: 15px;
|
| 280 |
-
}
|
| 281 |
-
.tooltip-panel {
|
| 282 |
-
top: auto;
|
| 283 |
-
bottom: 8px;
|
| 284 |
-
left: 3vw;
|
| 285 |
-
right: 3vw;
|
| 286 |
-
transform: none;
|
| 287 |
-
width: auto;
|
| 288 |
-
max-width: 94vw;
|
| 289 |
-
min-width: 0;
|
| 290 |
-
max-height: 55%;
|
| 291 |
-
padding: 20px 10px 12px 10px;
|
| 292 |
-
font-size: 13.5px;
|
| 293 |
-
overflow: scroll !important;
|
| 294 |
-
scrollbar-gutter: stable both-edges;
|
| 295 |
-
}
|
| 296 |
-
.tooltip-close {
|
| 297 |
-
top: 8px;
|
| 298 |
-
right: 8px;
|
| 299 |
-
width: 26px;
|
| 300 |
-
height: 26px;
|
| 301 |
-
font-size: 15px;
|
| 302 |
-
}
|
| 303 |
-
.tooltip-image {
|
| 304 |
-
max-height: 22vh;
|
| 305 |
-
}
|
| 306 |
}
|
| 307 |
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
transform: none;
|
| 328 |
-
width: auto;
|
| 329 |
-
max-width: 94vw;
|
| 330 |
-
min-width: 0;
|
| 331 |
-
max-height: 55%;
|
| 332 |
-
padding: 20px 10px 12px 10px;
|
| 333 |
-
font-size: 13.5px;
|
| 334 |
-
overflow: scroll !important;
|
| 335 |
-
scrollbar-gutter: stable both-edges;
|
| 336 |
-
}
|
| 337 |
-
.tooltip-close {
|
| 338 |
-
top: 8px;
|
| 339 |
-
right: 8px;
|
| 340 |
-
width: 26px;
|
| 341 |
-
height: 26px;
|
| 342 |
-
font-size: 15px;
|
| 343 |
-
}
|
| 344 |
-
.tooltip-image {
|
| 345 |
-
max-height: 22vh;
|
| 346 |
-
}
|
| 347 |
}
|
| 348 |
|
| 349 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 350 |
position: absolute;
|
| 351 |
-
top:
|
| 352 |
-
|
| 353 |
-
background-color: #
|
| 354 |
-
color: #
|
| 355 |
border: none;
|
| 356 |
-
border-radius:
|
| 357 |
-
|
| 358 |
-
height:
|
| 359 |
-
line-height: 24px;
|
| 360 |
-
text-align: center;
|
| 361 |
cursor: pointer;
|
| 362 |
-
font-size: 16px;
|
| 363 |
display: flex;
|
| 364 |
align-items: center;
|
| 365 |
justify-content: center;
|
| 366 |
padding: 0;
|
|
|
|
|
|
|
|
|
|
| 367 |
}
|
| 368 |
-
.
|
| 369 |
-
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 374 |
border-radius: 8px;
|
|
|
|
|
|
|
| 375 |
cursor: pointer;
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 379 |
align-items: center;
|
| 380 |
justify-content: center;
|
| 381 |
-
transition: background-color 0.2s ease;
|
| 382 |
-
z-index: 1000;
|
| 383 |
-
opacity: 1 !important;
|
| 384 |
-
visibility: visible !important;
|
| 385 |
-
margin-right: 8px;
|
| 386 |
}
|
| 387 |
-
.
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
.reset-camera-btn { top: 12px; right: 92px; font-size: 18px; line-height: normal; padding: 0; }
|
| 391 |
-
.tooltips-toggle { top: 12px; right: 132px; font-size: 18px; }
|
| 392 |
-
.fake-fullscreen .widget-button,
|
| 393 |
-
:fullscreen .widget-button,
|
| 394 |
-
:-webkit-full-screen .widget-button,
|
| 395 |
-
:-moz-full-screen .widget-button,
|
| 396 |
-
:-ms-fullscreen .widget-button { z-index: 10000; }
|
| 397 |
|
| 398 |
-
/*
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
bottom: 8px;
|
| 415 |
-
left: 3vw;
|
| 416 |
-
right: 3vw;
|
| 417 |
-
transform: none;
|
| 418 |
-
width: auto;
|
| 419 |
-
max-width: 94vw;
|
| 420 |
-
min-width: 0;
|
| 421 |
-
max-height: 85%;
|
| 422 |
-
padding: 20px 10px 12px 10px;
|
| 423 |
-
font-size: 13.5px;
|
| 424 |
-
overflow: scroll !important;
|
| 425 |
-
scrollbar-gutter: stable both-edges;
|
| 426 |
-
}
|
| 427 |
-
.tooltip-close {
|
| 428 |
-
top: 8px;
|
| 429 |
-
right: 8px;
|
| 430 |
-
width: 26px;
|
| 431 |
-
height: 26px;
|
| 432 |
-
font-size: 15px;
|
| 433 |
-
}
|
| 434 |
-
.tooltip-image {
|
| 435 |
-
max-height: 22vh;
|
| 436 |
-
}
|
| 437 |
}
|
| 438 |
|
| 439 |
-
|
| 440 |
-
|
| 441 |
-
height:
|
| 442 |
-
|
| 443 |
}
|
| 444 |
-
.ply-widget-container.mobile .help-toggle { font-size: 14px; }
|
| 445 |
-
.ply-widget-container.mobile .fullscreen-toggle { top: 8px; right: 8px; }
|
| 446 |
-
.ply-widget-container.mobile .help-toggle { top: 8px; right: 40px; }
|
| 447 |
-
.ply-widget-container.mobile .reset-camera-btn { top: 8px; right: 72px; }
|
| 448 |
-
.ply-widget-container.mobile .tooltips-toggle { top: 8px; right: 104px; }
|
| 449 |
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
.
|
|
|
|
|
|
|
|
|
| 1 |
+
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 2 |
+
VIEWER A β Styles
|
| 3 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 4 |
+
|
| 5 |
+
/* ββ Widget container ββ */
|
| 6 |
.ply-widget-container {
|
| 7 |
position: relative;
|
| 8 |
width: 100%;
|
|
|
|
| 38 |
border-radius: 0 !important;
|
| 39 |
background-color: black;
|
| 40 |
}
|
| 41 |
+
|
| 42 |
+
/* ββ Viewer container ββ */
|
| 43 |
.viewer-container {
|
| 44 |
display: none;
|
| 45 |
position: absolute;
|
|
|
|
| 64 |
width: 100%;
|
| 65 |
height: 100%;
|
| 66 |
}
|
| 67 |
+
|
| 68 |
+
/* ββ Canvas ββ */
|
| 69 |
.ply-canvas {
|
| 70 |
width: 100%;
|
| 71 |
height: 100%;
|
|
|
|
| 83 |
width: 100vw;
|
| 84 |
height: 100vh;
|
| 85 |
}
|
| 86 |
+
|
| 87 |
+
/* ββ Barre de progression ββ */
|
| 88 |
.progress-dialog {
|
| 89 |
position: absolute;
|
| 90 |
top: 50%; left: 50%;
|
|
|
|
| 105 |
border-radius: 10px;
|
| 106 |
overflow: hidden;
|
| 107 |
}
|
| 108 |
+
progress::-webkit-progress-bar { background-color: #333; border-radius: 10px; }
|
| 109 |
+
progress::-webkit-progress-value { background-color: #4682B4; border-radius: 10px; }
|
| 110 |
+
progress::-moz-progress-bar { background-color: #4682B4; }
|
| 111 |
+
|
| 112 |
+
/* ββ Panneau d'aide ββ */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
.menu-content {
|
| 114 |
display: none;
|
| 115 |
position: absolute;
|
|
|
|
| 126 |
z-index: 1010;
|
| 127 |
max-width: 90vw;
|
| 128 |
max-height: 90%;
|
| 129 |
+
overflow: scroll !important;
|
| 130 |
scrollbar-gutter: stable both-edges;
|
| 131 |
box-sizing: border-box;
|
| 132 |
}
|
| 133 |
+
.menu-content::-webkit-scrollbar { width: 12px; }
|
| 134 |
+
.menu-content::-webkit-scrollbar-thumb { background: #bbbbbb; border-radius: 8px; }
|
| 135 |
+
.menu-content::-webkit-scrollbar-track { background: #e7e7e7; border-radius: 8px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
|
|
|
|
| 137 |
.menu-content .help-close {
|
| 138 |
position: absolute;
|
| 139 |
+
top: 5px; right: 5px;
|
| 140 |
+
width: 32px; height: 32px;
|
|
|
|
|
|
|
| 141 |
background: #F2F0EF;
|
| 142 |
color: #333;
|
| 143 |
border: 1px solid #ccc;
|
|
|
|
| 147 |
display: flex;
|
| 148 |
align-items: center;
|
| 149 |
justify-content: center;
|
|
|
|
| 150 |
cursor: pointer;
|
| 151 |
z-index: 2;
|
| 152 |
transition: background 0.18s;
|
|
|
|
| 154 |
padding: 0;
|
| 155 |
}
|
| 156 |
.menu-content .help-close:hover,
|
| 157 |
+
.menu-content .help-close:focus { background: #e0e0e0; outline: none; }
|
|
|
|
|
|
|
|
|
|
| 158 |
|
| 159 |
+
/* ββ Boutons widget ββ */
|
| 160 |
+
.widget-button {
|
| 161 |
position: absolute;
|
| 162 |
+
width: 32px; height: 32px;
|
| 163 |
+
background-color: #F2F0EF;
|
| 164 |
+
border: 1px solid #ccc;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 165 |
border-radius: 8px;
|
| 166 |
+
cursor: pointer;
|
| 167 |
+
font-size: 16px;
|
| 168 |
+
color: #545454;
|
| 169 |
+
display: flex !important;
|
| 170 |
+
align-items: center;
|
| 171 |
+
justify-content: center;
|
| 172 |
+
transition: background-color 0.2s ease;
|
| 173 |
+
z-index: 1000;
|
| 174 |
+
opacity: 1 !important;
|
| 175 |
+
visibility: visible !important;
|
| 176 |
+
margin-right: 8px;
|
| 177 |
}
|
| 178 |
+
.widget-button:hover { background-color: rgba(242,240,239,0.7); }
|
| 179 |
+
.fullscreen-toggle { top: 12px; right: 12px; }
|
| 180 |
+
.help-toggle { top: 12px; right: 52px; font-size: 18px; }
|
| 181 |
+
.reset-camera-btn { top: 12px; right: 92px; font-size: 18px; line-height: normal; padding: 0; }
|
| 182 |
+
.tooltips-toggle { top: 12px; right: 132px; font-size: 18px; }
|
| 183 |
|
| 184 |
+
.fake-fullscreen .widget-button,
|
| 185 |
+
:fullscreen .widget-button,
|
| 186 |
+
:-webkit-full-screen .widget-button,
|
| 187 |
+
:-moz-full-screen .widget-button,
|
| 188 |
+
:-ms-fullscreen .widget-button { z-index: 10000; }
|
| 189 |
+
|
| 190 |
+
.help-close {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 191 |
position: absolute;
|
| 192 |
+
top: 8px; right: 8px;
|
| 193 |
+
background-color: #B0B0B0;
|
|
|
|
|
|
|
|
|
|
| 194 |
color: #333;
|
| 195 |
+
border: none;
|
| 196 |
+
border-radius: 4px;
|
| 197 |
+
width: 24px; height: 24px;
|
| 198 |
+
line-height: 24px;
|
| 199 |
+
text-align: center;
|
| 200 |
+
cursor: pointer;
|
| 201 |
+
font-size: 16px;
|
| 202 |
display: flex;
|
| 203 |
align-items: center;
|
| 204 |
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 205 |
padding: 0;
|
| 206 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 207 |
|
| 208 |
+
/* ββ Mobile : boutons ββ */
|
| 209 |
+
.ply-widget-container.mobile .widget-button { width: 24px; height: 24px; font-size: 12px; }
|
| 210 |
+
.ply-widget-container.mobile .help-toggle { font-size: 14px; }
|
| 211 |
+
.ply-widget-container.mobile .fullscreen-toggle { top: 8px; right: 8px; }
|
| 212 |
+
.ply-widget-container.mobile .help-toggle { top: 8px; right: 40px; }
|
| 213 |
+
.ply-widget-container.mobile .reset-camera-btn { top: 8px; right: 72px; }
|
| 214 |
+
.ply-widget-container.mobile .tooltips-toggle { top: 8px; right: 104px; }
|
| 215 |
+
|
| 216 |
+
#application-canvas { width: 100%; height: 100%; display: block; }
|
| 217 |
+
html, body { margin: 0; padding: 0; height: 100%; }
|
| 218 |
+
.progress-dialog p { margin: 0; padding: 5px; }
|
| 219 |
+
|
| 220 |
@media (max-width: 600px) {
|
| 221 |
.menu-content {
|
| 222 |
width: 85vw;
|
|
|
|
| 226 |
padding: 40px 18px 14px;
|
| 227 |
font-size: 14px;
|
| 228 |
}
|
| 229 |
+
.menu-content .help-close { top: 6px; right: 6px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 230 |
}
|
| 231 |
|
| 232 |
+
|
| 233 |
+
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 234 |
+
ANNOTATIONS β Dark theme (harmonisΓ© avec viewer B)
|
| 235 |
+
Utilise des classes (pas d'IDs) β compatible multi-instance
|
| 236 |
+
Position absolute dans widgetContainer β fullscreen natif OK
|
| 237 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 238 |
+
|
| 239 |
+
/* ββ Overlay (fond semi-transparent, ferme l'annotation au clic) ββ */
|
| 240 |
+
.ann-overlay {
|
| 241 |
+
display: none;
|
| 242 |
+
position: absolute;
|
| 243 |
+
inset: 0;
|
| 244 |
+
z-index: 2000;
|
| 245 |
+
align-items: center;
|
| 246 |
+
justify-content: center;
|
| 247 |
+
background: rgba(0, 0, 0, 0.35);
|
| 248 |
+
}
|
| 249 |
+
.ann-overlay.ann-open {
|
| 250 |
+
display: flex;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
}
|
| 252 |
|
| 253 |
+
/* ββ Modal tooltip ββ */
|
| 254 |
+
.ann-tooltip {
|
| 255 |
+
position: relative;
|
| 256 |
+
background: rgba(18, 18, 18, 0.96);
|
| 257 |
+
color: #f0f0f0;
|
| 258 |
+
border-radius: 14px;
|
| 259 |
+
overflow: hidden;
|
| 260 |
+
width: 90%;
|
| 261 |
+
max-width: 400px;
|
| 262 |
+
max-height: 85%;
|
| 263 |
+
display: flex;
|
| 264 |
+
flex-direction: column;
|
| 265 |
+
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
|
| 266 |
+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
/* ββ Bouton fermer (base commune annotation + lightbox) ββ */
|
| 270 |
+
.ann-close-btn-base {
|
| 271 |
position: absolute;
|
| 272 |
+
top: 10px; right: 10px;
|
| 273 |
+
width: 32px; height: 32px;
|
| 274 |
+
background-color: #2E2E2E;
|
| 275 |
+
color: #fff;
|
| 276 |
border: none;
|
| 277 |
+
border-radius: 50%;
|
| 278 |
+
font-size: 20px;
|
| 279 |
+
line-height: 1;
|
|
|
|
|
|
|
| 280 |
cursor: pointer;
|
|
|
|
| 281 |
display: flex;
|
| 282 |
align-items: center;
|
| 283 |
justify-content: center;
|
| 284 |
padding: 0;
|
| 285 |
+
z-index: 10;
|
| 286 |
+
opacity: 0.6;
|
| 287 |
+
transition: opacity 0.15s, transform 0.1s;
|
| 288 |
}
|
| 289 |
+
.ann-close-btn-base:hover {
|
| 290 |
+
opacity: 1;
|
| 291 |
+
transform: scale(1.05);
|
| 292 |
+
}
|
| 293 |
+
|
| 294 |
+
/* ββ Image (pleine largeur, rognΓ©e si trop haute, zoom-in au survol) ββ */
|
| 295 |
+
.ann-img-wrap {
|
| 296 |
+
width: 100%;
|
| 297 |
+
flex-shrink: 0;
|
| 298 |
+
overflow: hidden;
|
| 299 |
+
max-height: 220px;
|
| 300 |
+
background: #000;
|
| 301 |
+
cursor: zoom-in;
|
| 302 |
+
}
|
| 303 |
+
.ann-img-wrap img {
|
| 304 |
+
width: 100%;
|
| 305 |
+
height: auto;
|
| 306 |
+
display: block;
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
/* ββ Zone de dΓ©filement ββ */
|
| 310 |
+
.ann-scroll {
|
| 311 |
+
padding: 16px 0 12px;
|
| 312 |
+
overflow-y: auto;
|
| 313 |
+
flex: 1;
|
| 314 |
+
overscroll-behavior: contain;
|
| 315 |
+
scrollbar-width: thin;
|
| 316 |
+
scrollbar-color: rgba(255,255,255,0.2) transparent;
|
| 317 |
+
}
|
| 318 |
+
.ann-scroll::-webkit-scrollbar { width: 5px; }
|
| 319 |
+
.ann-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
|
| 320 |
+
|
| 321 |
+
.ann-title,
|
| 322 |
+
.ann-body {
|
| 323 |
+
width: 90%;
|
| 324 |
+
margin: 0 auto;
|
| 325 |
+
}
|
| 326 |
+
.ann-title {
|
| 327 |
+
font-size: 16px;
|
| 328 |
+
font-weight: 700;
|
| 329 |
+
margin-bottom: 10px;
|
| 330 |
+
line-height: 1.4;
|
| 331 |
+
}
|
| 332 |
+
.ann-body {
|
| 333 |
+
font-size: 13px;
|
| 334 |
+
line-height: 1.7;
|
| 335 |
+
white-space: pre-wrap;
|
| 336 |
+
opacity: 0.88;
|
| 337 |
+
}
|
| 338 |
+
|
| 339 |
+
/* ββ Pied de page avec bouton lien ββ */
|
| 340 |
+
.ann-footer {
|
| 341 |
+
display: flex;
|
| 342 |
+
align-items: center;
|
| 343 |
+
padding: 10px 14px;
|
| 344 |
+
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
| 345 |
+
flex-shrink: 0;
|
| 346 |
+
}
|
| 347 |
+
.ann-link-btn {
|
| 348 |
+
flex: 1;
|
| 349 |
+
padding: 8px 16px;
|
| 350 |
+
background: #4a90e2;
|
| 351 |
+
color: #fff;
|
| 352 |
+
border: none;
|
| 353 |
border-radius: 8px;
|
| 354 |
+
font-size: 13px;
|
| 355 |
+
font-weight: 600;
|
| 356 |
cursor: pointer;
|
| 357 |
+
transition: background 0.15s;
|
| 358 |
+
}
|
| 359 |
+
.ann-link-btn:hover { background: #357abd; }
|
| 360 |
+
|
| 361 |
+
/* ββ Lightbox (image agrandie) ββ */
|
| 362 |
+
.ann-lightbox {
|
| 363 |
+
display: none;
|
| 364 |
+
position: absolute;
|
| 365 |
+
inset: 0;
|
| 366 |
+
z-index: 3000;
|
| 367 |
+
background: rgba(0, 0, 0, 0.90);
|
| 368 |
align-items: center;
|
| 369 |
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 370 |
}
|
| 371 |
+
.ann-lightbox.ann-lb-open {
|
| 372 |
+
display: flex;
|
| 373 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 374 |
|
| 375 |
+
/* Conteneur relatif pour positionner le bouton fermer par rapport Γ l'image */
|
| 376 |
+
.ann-lb-content-wrap {
|
| 377 |
+
position: relative;
|
| 378 |
+
max-width: 90%;
|
| 379 |
+
max-height: 90%;
|
| 380 |
+
display: flex;
|
| 381 |
+
align-items: center;
|
| 382 |
+
justify-content: center;
|
| 383 |
+
}
|
| 384 |
+
.ann-lightbox img {
|
| 385 |
+
max-width: 100%;
|
| 386 |
+
max-height: 100%;
|
| 387 |
+
object-fit: contain;
|
| 388 |
+
border-radius: 8px;
|
| 389 |
+
display: block;
|
| 390 |
+
box-shadow: 0 8px 40px rgba(0,0,0,0.6);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 391 |
}
|
| 392 |
|
| 393 |
+
/* ββ Responsive β portrait mobile ββ */
|
| 394 |
+
@media (orientation: portrait) and (max-width: 768px) {
|
| 395 |
+
.ann-tooltip { width: 93%; max-height: 83%; }
|
| 396 |
+
.ann-img-wrap { max-height: 180px; }
|
| 397 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 398 |
|
| 399 |
+
/* ββ Responsive β paysage mobile ββ */
|
| 400 |
+
@media (orientation: landscape) and (max-height: 520px) {
|
| 401 |
+
.ann-tooltip { width: 82%; max-height: 90%; }
|
| 402 |
+
.ann-img-wrap { max-height: 130px; }
|
| 403 |
+
}
|