Spaces:
Running
Running
Update style/defaults/style.css
Browse files- style/defaults/style.css +160 -129
style/defaults/style.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*
|
| 2 |
|
| 3 |
/* Widget container styling */
|
| 4 |
.ply-widget-container {
|
|
@@ -9,7 +9,11 @@
|
|
| 9 |
transition: all 0.3s ease;
|
| 10 |
box-sizing: border-box;
|
| 11 |
overflow: hidden;
|
|
|
|
|
|
|
| 12 |
}
|
|
|
|
|
|
|
| 13 |
.ply-widget-container.fake-fullscreen {
|
| 14 |
position: fixed !important;
|
| 15 |
top: 0 !important;
|
|
@@ -26,7 +30,15 @@
|
|
| 26 |
box-sizing: border-box;
|
| 27 |
overflow: hidden;
|
| 28 |
}
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
.ply-widget-container:-webkit-full-screen,
|
| 31 |
.ply-widget-container:-moz-full-screen,
|
| 32 |
.ply-widget-container:-ms-fullscreen {
|
|
@@ -36,11 +48,14 @@
|
|
| 36 |
border-radius: 0 !important;
|
| 37 |
background-color: black;
|
| 38 |
}
|
|
|
|
|
|
|
| 39 |
.viewer-container {
|
| 40 |
display: none;
|
| 41 |
position: absolute;
|
| 42 |
top: 0; left: 0; right: 0; bottom: 0;
|
| 43 |
-
width: 100%;
|
|
|
|
| 44 |
background: black;
|
| 45 |
border: 1px solid #474558;
|
| 46 |
border-radius: 10px;
|
|
@@ -49,7 +64,11 @@
|
|
| 49 |
transition: all 0.3s ease;
|
| 50 |
min-height: 100%;
|
| 51 |
object-fit: contain;
|
|
|
|
|
|
|
| 52 |
}
|
|
|
|
|
|
|
| 53 |
.fake-fullscreen .viewer-container,
|
| 54 |
:fullscreen .viewer-container,
|
| 55 |
:-webkit-full-screen .viewer-container,
|
|
@@ -60,6 +79,8 @@
|
|
| 60 |
width: 100%;
|
| 61 |
height: 100%;
|
| 62 |
}
|
|
|
|
|
|
|
| 63 |
.ply-canvas {
|
| 64 |
width: 100%;
|
| 65 |
height: 100%;
|
|
@@ -68,15 +89,10 @@
|
|
| 68 |
z-index: 1;
|
| 69 |
position: absolute;
|
| 70 |
top: 0; left: 0; right: 0; bottom: 0;
|
|
|
|
| 71 |
}
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
:-webkit-full-screen .ply-canvas,
|
| 75 |
-
:-moz-full-screen .ply-canvas,
|
| 76 |
-
:-ms-fullscreen .ply-canvas {
|
| 77 |
-
width: 100vw;
|
| 78 |
-
height: 100vh;
|
| 79 |
-
}
|
| 80 |
.progress-dialog {
|
| 81 |
position: absolute;
|
| 82 |
top: 50%; left: 50%;
|
|
@@ -89,6 +105,8 @@
|
|
| 89 |
display: none;
|
| 90 |
color: white;
|
| 91 |
}
|
|
|
|
|
|
|
| 92 |
progress {
|
| 93 |
width: 250px;
|
| 94 |
height: 15px;
|
|
@@ -109,6 +127,7 @@ progress::-moz-progress-bar {
|
|
| 109 |
background-color: #4682B4;
|
| 110 |
border-radius: 10px;
|
| 111 |
}
|
|
|
|
| 112 |
/* Menu (instructions) content styling */
|
| 113 |
.menu-content {
|
| 114 |
display: none;
|
|
@@ -125,7 +144,10 @@ progress::-moz-progress-bar {
|
|
| 125 |
box-shadow: none;
|
| 126 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
| 127 |
z-index: 1010;
|
|
|
|
| 128 |
}
|
|
|
|
|
|
|
| 129 |
.help-close {
|
| 130 |
position: absolute;
|
| 131 |
top: 8px;
|
|
@@ -140,11 +162,9 @@ progress::-moz-progress-bar {
|
|
| 140 |
text-align: center;
|
| 141 |
cursor: pointer;
|
| 142 |
font-size: 16px;
|
| 143 |
-
display: flex;
|
| 144 |
-
align-items: center;
|
| 145 |
-
justify-content: center;
|
| 146 |
-
padding: 0;
|
| 147 |
}
|
|
|
|
|
|
|
| 148 |
.widget-button {
|
| 149 |
position: absolute;
|
| 150 |
width: 32px;
|
|
@@ -159,91 +179,106 @@ progress::-moz-progress-bar {
|
|
| 159 |
align-items: center;
|
| 160 |
justify-content: center;
|
| 161 |
transition: background-color 0.2s ease;
|
| 162 |
-
z-index: 1000;
|
| 163 |
opacity: 1 !important;
|
| 164 |
visibility: visible !important;
|
| 165 |
margin-right: 8px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 166 |
}
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
.
|
| 170 |
-
|
| 171 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 172 |
.fake-fullscreen .widget-button,
|
| 173 |
:fullscreen .widget-button,
|
| 174 |
:-webkit-full-screen .widget-button,
|
| 175 |
:-moz-full-screen .widget-button,
|
| 176 |
-
:-ms-fullscreen .widget-button {
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
/* ...rest of your CSS remains unchanged... */
|
| 180 |
|
| 181 |
-
/*
|
| 182 |
.tooltip-panel {
|
| 183 |
position: absolute;
|
| 184 |
top: 50%;
|
| 185 |
right: 5%;
|
| 186 |
-
transform: translate(0
|
| 187 |
background: rgba(242,240,239,0.97);
|
| 188 |
color: #545454;
|
| 189 |
border: 1px solid #ddd;
|
| 190 |
-
border-radius:
|
| 191 |
-
padding:
|
| 192 |
-
max-width:
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
min-height: 60px;
|
| 196 |
-
max-height: 90vh;
|
| 197 |
-
z-index: 20000;
|
| 198 |
display: none;
|
| 199 |
flex-direction: column;
|
| 200 |
align-items: flex-start;
|
| 201 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
| 202 |
-
|
|
|
|
| 203 |
box-sizing: border-box;
|
| 204 |
-
position: absolute;
|
| 205 |
}
|
| 206 |
|
| 207 |
-
/*
|
| 208 |
.tooltip-content {
|
|
|
|
| 209 |
width: 100%;
|
| 210 |
-
min-width: 160px;
|
| 211 |
-
max-width: 100%;
|
| 212 |
box-sizing: border-box;
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
overflow: hidden;
|
| 217 |
-
margin-top: 0;
|
| 218 |
}
|
| 219 |
|
| 220 |
-
/*
|
| 221 |
.tooltip-close {
|
| 222 |
position: absolute;
|
| 223 |
-
top:
|
| 224 |
-
right:
|
| 225 |
width: 32px;
|
| 226 |
height: 32px;
|
| 227 |
background: #F2F0EF;
|
| 228 |
-
color: #
|
| 229 |
border: 1px solid #ccc;
|
| 230 |
border-radius: 8px;
|
| 231 |
-
font-size: 17px;
|
| 232 |
-
font-weight: bold;
|
| 233 |
display: flex;
|
| 234 |
align-items: center;
|
| 235 |
justify-content: center;
|
| 236 |
-
|
| 237 |
cursor: pointer;
|
| 238 |
-
z-index:
|
| 239 |
-
transition: background 0.18s;
|
| 240 |
box-sizing: border-box;
|
|
|
|
|
|
|
| 241 |
padding: 0;
|
|
|
|
| 242 |
}
|
| 243 |
-
.tooltip-close:hover
|
| 244 |
-
|
| 245 |
-
background: #e0e0e0;
|
| 246 |
-
outline: none;
|
| 247 |
}
|
| 248 |
|
| 249 |
/* Tooltip text and image */
|
|
@@ -251,93 +286,66 @@ progress::-moz-progress-bar {
|
|
| 251 |
margin-bottom: 10px;
|
| 252 |
font-size: 14px;
|
| 253 |
line-height: 1.4;
|
| 254 |
-
overflow-wrap: break-word;
|
| 255 |
word-break: break-word;
|
| 256 |
-
max-width: 100%;
|
| 257 |
}
|
| 258 |
.tooltip-image {
|
| 259 |
max-width: 100%;
|
| 260 |
-
|
| 261 |
border-radius: 4px;
|
| 262 |
margin-top: 5px;
|
| 263 |
display: block;
|
| 264 |
-
object-fit: contain;
|
| 265 |
-
box-sizing: border-box;
|
| 266 |
-
}
|
| 267 |
-
|
| 268 |
-
/* --- MOBILE adjustments --- */
|
| 269 |
-
@media (max-width: 600px) {
|
| 270 |
-
.tooltip-panel {
|
| 271 |
-
top: auto;
|
| 272 |
-
bottom: 8px;
|
| 273 |
-
right: 3vw;
|
| 274 |
-
left: 3vw;
|
| 275 |
-
transform: none;
|
| 276 |
-
width: auto;
|
| 277 |
-
max-width: 94vw;
|
| 278 |
-
min-width: 0;
|
| 279 |
-
max-height: 55vh;
|
| 280 |
-
padding: 16px 10px 12px 10px;
|
| 281 |
-
font-size: 13.5px;
|
| 282 |
-
}
|
| 283 |
-
.tooltip-close {
|
| 284 |
-
top: 8px;
|
| 285 |
-
right: 8px;
|
| 286 |
-
width: 26px;
|
| 287 |
-
height: 26px;
|
| 288 |
-
font-size: 15px;
|
| 289 |
-
}
|
| 290 |
-
.tooltip-image {
|
| 291 |
-
max-height: 22vh;
|
| 292 |
-
}
|
| 293 |
-
}
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
/* --- Mobile adjustments --- */
|
| 297 |
-
@media (max-width: 600px) {
|
| 298 |
-
.tooltip-panel {
|
| 299 |
-
top: auto;
|
| 300 |
-
bottom: 8px;
|
| 301 |
-
right: 3vw;
|
| 302 |
-
left: 3vw;
|
| 303 |
-
transform: none;
|
| 304 |
-
width: auto;
|
| 305 |
-
max-width: 94vw;
|
| 306 |
-
min-width: 0;
|
| 307 |
-
max-height: 55vh;
|
| 308 |
-
padding: 28px 14px 12px 12px; /* extra for top, right */
|
| 309 |
-
font-size: 13.5px;
|
| 310 |
-
}
|
| 311 |
-
.tooltip-content {
|
| 312 |
-
min-width: 0;
|
| 313 |
-
}
|
| 314 |
-
.tooltip-close {
|
| 315 |
-
top: 6px;
|
| 316 |
-
right: 6px;
|
| 317 |
-
width: 26px;
|
| 318 |
-
height: 26px;
|
| 319 |
-
font-size: 15px;
|
| 320 |
-
}
|
| 321 |
-
.tooltip-image {
|
| 322 |
-
max-height: 22vh;
|
| 323 |
-
}
|
| 324 |
}
|
| 325 |
|
|
|
|
| 326 |
.ply-widget-container.mobile .widget-button {
|
| 327 |
width: 24px;
|
| 328 |
height: 24px;
|
| 329 |
font-size: 12px;
|
| 330 |
}
|
| 331 |
-
.ply-widget-container.mobile .help-toggle {
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
.ply-widget-container.mobile .
|
| 335 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 336 |
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 340 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 341 |
@media (max-width: 600px) {
|
| 342 |
.menu-content {
|
| 343 |
width: 85vw;
|
|
@@ -350,4 +358,27 @@ html, body { margin: 0; padding: 0; height: 100%; }
|
|
| 350 |
top: 6px;
|
| 351 |
right: 6px;
|
| 352 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 353 |
}
|
|
|
|
| 1 |
+
/* style.css */
|
| 2 |
|
| 3 |
/* Widget container styling */
|
| 4 |
.ply-widget-container {
|
|
|
|
| 9 |
transition: all 0.3s ease;
|
| 10 |
box-sizing: border-box;
|
| 11 |
overflow: hidden;
|
| 12 |
+
pointer-events: auto !important;
|
| 13 |
+
z-index: 10 !important;
|
| 14 |
}
|
| 15 |
+
|
| 16 |
+
/* When in fake fullscreen mode (iOS fallback) */
|
| 17 |
.ply-widget-container.fake-fullscreen {
|
| 18 |
position: fixed !important;
|
| 19 |
top: 0 !important;
|
|
|
|
| 30 |
box-sizing: border-box;
|
| 31 |
overflow: hidden;
|
| 32 |
}
|
| 33 |
+
|
| 34 |
+
/* For native fullscreen - ensure no aspect ratio padding */
|
| 35 |
+
.ply-widget-container:fullscreen {
|
| 36 |
+
width: 100vw !important;
|
| 37 |
+
height: 100vh !important;
|
| 38 |
+
padding-bottom: 0 !important;
|
| 39 |
+
border-radius: 0 !important;
|
| 40 |
+
background-color: black;
|
| 41 |
+
}
|
| 42 |
.ply-widget-container:-webkit-full-screen,
|
| 43 |
.ply-widget-container:-moz-full-screen,
|
| 44 |
.ply-widget-container:-ms-fullscreen {
|
|
|
|
| 48 |
border-radius: 0 !important;
|
| 49 |
background-color: black;
|
| 50 |
}
|
| 51 |
+
|
| 52 |
+
/* Viewer Container styling */
|
| 53 |
.viewer-container {
|
| 54 |
display: none;
|
| 55 |
position: absolute;
|
| 56 |
top: 0; left: 0; right: 0; bottom: 0;
|
| 57 |
+
width: 100%;
|
| 58 |
+
height: 100%;
|
| 59 |
background: black;
|
| 60 |
border: 1px solid #474558;
|
| 61 |
border-radius: 10px;
|
|
|
|
| 64 |
transition: all 0.3s ease;
|
| 65 |
min-height: 100%;
|
| 66 |
object-fit: contain;
|
| 67 |
+
pointer-events: auto !important;
|
| 68 |
+
z-index: 100 !important;
|
| 69 |
}
|
| 70 |
+
|
| 71 |
+
/* When parent container is fullscreen, adjust viewer container */
|
| 72 |
.fake-fullscreen .viewer-container,
|
| 73 |
:fullscreen .viewer-container,
|
| 74 |
:-webkit-full-screen .viewer-container,
|
|
|
|
| 79 |
width: 100%;
|
| 80 |
height: 100%;
|
| 81 |
}
|
| 82 |
+
|
| 83 |
+
/* Canvas fills the viewer container */
|
| 84 |
.ply-canvas {
|
| 85 |
width: 100%;
|
| 86 |
height: 100%;
|
|
|
|
| 89 |
z-index: 1;
|
| 90 |
position: absolute;
|
| 91 |
top: 0; left: 0; right: 0; bottom: 0;
|
| 92 |
+
pointer-events: auto !important;
|
| 93 |
}
|
| 94 |
+
|
| 95 |
+
/* Progress dialog styling (centered) */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
.progress-dialog {
|
| 97 |
position: absolute;
|
| 98 |
top: 50%; left: 50%;
|
|
|
|
| 105 |
display: none;
|
| 106 |
color: white;
|
| 107 |
}
|
| 108 |
+
|
| 109 |
+
/* Progress bar styling */
|
| 110 |
progress {
|
| 111 |
width: 250px;
|
| 112 |
height: 15px;
|
|
|
|
| 127 |
background-color: #4682B4;
|
| 128 |
border-radius: 10px;
|
| 129 |
}
|
| 130 |
+
|
| 131 |
/* Menu (instructions) content styling */
|
| 132 |
.menu-content {
|
| 133 |
display: none;
|
|
|
|
| 144 |
box-shadow: none;
|
| 145 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
| 146 |
z-index: 1010;
|
| 147 |
+
pointer-events: auto !important;
|
| 148 |
}
|
| 149 |
+
|
| 150 |
+
/* Help-close button inside instructions panel */
|
| 151 |
.help-close {
|
| 152 |
position: absolute;
|
| 153 |
top: 8px;
|
|
|
|
| 162 |
text-align: center;
|
| 163 |
cursor: pointer;
|
| 164 |
font-size: 16px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 165 |
}
|
| 166 |
+
|
| 167 |
+
/* Button styling with improved visibility and spacing tweaks */
|
| 168 |
.widget-button {
|
| 169 |
position: absolute;
|
| 170 |
width: 32px;
|
|
|
|
| 179 |
align-items: center;
|
| 180 |
justify-content: center;
|
| 181 |
transition: background-color 0.2s ease;
|
| 182 |
+
z-index: 1000 !important;
|
| 183 |
opacity: 1 !important;
|
| 184 |
visibility: visible !important;
|
| 185 |
margin-right: 8px;
|
| 186 |
+
pointer-events: auto !important;
|
| 187 |
+
}
|
| 188 |
+
.widget-button:hover {
|
| 189 |
+
background-color: rgba(242,240,239,0.7);
|
| 190 |
}
|
| 191 |
+
|
| 192 |
+
/* Specific button positions */
|
| 193 |
+
.fullscreen-toggle {
|
| 194 |
+
top: 12px;
|
| 195 |
+
right: 12px;
|
| 196 |
+
}
|
| 197 |
+
.help-toggle {
|
| 198 |
+
top: 12px;
|
| 199 |
+
right: 52px;
|
| 200 |
+
font-size: 18px;
|
| 201 |
+
}
|
| 202 |
+
.reset-camera-btn {
|
| 203 |
+
top: 12px;
|
| 204 |
+
right: 92px;
|
| 205 |
+
font-size: 18px;
|
| 206 |
+
line-height: normal;
|
| 207 |
+
padding: 0;
|
| 208 |
+
}
|
| 209 |
+
.tooltips-toggle {
|
| 210 |
+
top: 12px;
|
| 211 |
+
right: 132px;
|
| 212 |
+
font-size: 18px;
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
/* Ensure buttons remain visible in fullscreen */
|
| 216 |
.fake-fullscreen .widget-button,
|
| 217 |
:fullscreen .widget-button,
|
| 218 |
:-webkit-full-screen .widget-button,
|
| 219 |
:-moz-full-screen .widget-button,
|
| 220 |
+
:-ms-fullscreen .widget-button {
|
| 221 |
+
z-index: 10000;
|
| 222 |
+
}
|
|
|
|
| 223 |
|
| 224 |
+
/* Tooltip panel styling */
|
| 225 |
.tooltip-panel {
|
| 226 |
position: absolute;
|
| 227 |
top: 50%;
|
| 228 |
right: 5%;
|
| 229 |
+
transform: translate(0%, -50%);
|
| 230 |
background: rgba(242,240,239,0.97);
|
| 231 |
color: #545454;
|
| 232 |
border: 1px solid #ddd;
|
| 233 |
+
border-radius: 8px;
|
| 234 |
+
padding: 15px 12px 15px 15px;
|
| 235 |
+
max-width: 90vw;
|
| 236 |
+
max-height: 70vh;
|
| 237 |
+
z-index: 20000 !important;
|
|
|
|
|
|
|
|
|
|
| 238 |
display: none;
|
| 239 |
flex-direction: column;
|
| 240 |
align-items: flex-start;
|
| 241 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
| 242 |
+
pointer-events: auto !important;
|
| 243 |
+
overflow: auto !important;
|
| 244 |
box-sizing: border-box;
|
|
|
|
| 245 |
}
|
| 246 |
|
| 247 |
+
/* Content wrapper for tooltip, leave room at top for close button */
|
| 248 |
.tooltip-content {
|
| 249 |
+
position: relative;
|
| 250 |
width: 100%;
|
|
|
|
|
|
|
| 251 |
box-sizing: border-box;
|
| 252 |
+
padding-top: 6px;
|
| 253 |
+
overflow: auto;
|
| 254 |
+
max-height: 65vh;
|
|
|
|
|
|
|
| 255 |
}
|
| 256 |
|
| 257 |
+
/* Tooltip close button — styled like the main buttons, always in corner */
|
| 258 |
.tooltip-close {
|
| 259 |
position: absolute;
|
| 260 |
+
top: 10px;
|
| 261 |
+
right: 10px;
|
| 262 |
width: 32px;
|
| 263 |
height: 32px;
|
| 264 |
background: #F2F0EF;
|
| 265 |
+
color: #545454;
|
| 266 |
border: 1px solid #ccc;
|
| 267 |
border-radius: 8px;
|
|
|
|
|
|
|
| 268 |
display: flex;
|
| 269 |
align-items: center;
|
| 270 |
justify-content: center;
|
| 271 |
+
font-size: 18px;
|
| 272 |
cursor: pointer;
|
| 273 |
+
z-index: 10001;
|
|
|
|
| 274 |
box-sizing: border-box;
|
| 275 |
+
pointer-events: auto;
|
| 276 |
+
font-weight: bold;
|
| 277 |
padding: 0;
|
| 278 |
+
transition: background 0.2s;
|
| 279 |
}
|
| 280 |
+
.tooltip-close:hover {
|
| 281 |
+
background: #ececec;
|
|
|
|
|
|
|
| 282 |
}
|
| 283 |
|
| 284 |
/* Tooltip text and image */
|
|
|
|
| 286 |
margin-bottom: 10px;
|
| 287 |
font-size: 14px;
|
| 288 |
line-height: 1.4;
|
|
|
|
| 289 |
word-break: break-word;
|
|
|
|
| 290 |
}
|
| 291 |
.tooltip-image {
|
| 292 |
max-width: 100%;
|
| 293 |
+
height: auto;
|
| 294 |
border-radius: 4px;
|
| 295 |
margin-top: 5px;
|
| 296 |
display: block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 297 |
}
|
| 298 |
|
| 299 |
+
/* Mobile adjustments */
|
| 300 |
.ply-widget-container.mobile .widget-button {
|
| 301 |
width: 24px;
|
| 302 |
height: 24px;
|
| 303 |
font-size: 12px;
|
| 304 |
}
|
| 305 |
+
.ply-widget-container.mobile .help-toggle {
|
| 306 |
+
font-size: 14px;
|
| 307 |
+
}
|
| 308 |
+
.ply-widget-container.mobile .fullscreen-toggle {
|
| 309 |
+
top: 8px;
|
| 310 |
+
right: 8px;
|
| 311 |
+
}
|
| 312 |
+
.ply-widget-container.mobile .help-toggle {
|
| 313 |
+
top: 8px;
|
| 314 |
+
right: 40px;
|
| 315 |
+
}
|
| 316 |
+
.ply-widget-container.mobile .reset-camera-btn {
|
| 317 |
+
top: 8px;
|
| 318 |
+
right: 72px;
|
| 319 |
+
}
|
| 320 |
+
.ply-widget-container.mobile .tooltips-toggle {
|
| 321 |
+
top: 8px;
|
| 322 |
+
right: 104px;
|
| 323 |
+
}
|
| 324 |
+
.ply-widget-container.mobile .tooltip-panel {
|
| 325 |
+
max-width: 98vw;
|
| 326 |
+
max-height: 54vh;
|
| 327 |
+
padding: 8px 5px 12px 8px;
|
| 328 |
+
}
|
| 329 |
|
| 330 |
+
/* PlayCanvas compatibility */
|
| 331 |
+
#application-canvas {
|
| 332 |
+
width: 100%;
|
| 333 |
+
height: 100%;
|
| 334 |
+
display: block;
|
| 335 |
+
}
|
| 336 |
+
html, body {
|
| 337 |
+
margin: 0;
|
| 338 |
+
padding: 0;
|
| 339 |
+
height: 100%;
|
| 340 |
+
}
|
| 341 |
|
| 342 |
+
/* Error message styling */
|
| 343 |
+
.progress-dialog p {
|
| 344 |
+
margin: 0;
|
| 345 |
+
padding: 5px;
|
| 346 |
+
}
|
| 347 |
+
|
| 348 |
+
/* Instructions panel fit on phones */
|
| 349 |
@media (max-width: 600px) {
|
| 350 |
.menu-content {
|
| 351 |
width: 85vw;
|
|
|
|
| 358 |
top: 6px;
|
| 359 |
right: 6px;
|
| 360 |
}
|
| 361 |
+
.tooltip-panel {
|
| 362 |
+
max-width: 98vw;
|
| 363 |
+
max-height: 54vh;
|
| 364 |
+
padding: 8px 5px 12px 8px;
|
| 365 |
+
}
|
| 366 |
+
.tooltip-close {
|
| 367 |
+
width: 28px;
|
| 368 |
+
height: 28px;
|
| 369 |
+
top: 4px;
|
| 370 |
+
right: 4px;
|
| 371 |
+
font-size: 16px;
|
| 372 |
+
}
|
| 373 |
+
}
|
| 374 |
+
|
| 375 |
+
/* Misc pointer events enforcement for all key UI overlays */
|
| 376 |
+
.ply-widget-container,
|
| 377 |
+
.viewer-container,
|
| 378 |
+
.ply-canvas,
|
| 379 |
+
.tooltip-panel,
|
| 380 |
+
.widget-button,
|
| 381 |
+
.menu-content {
|
| 382 |
+
pointer-events: auto !important;
|
| 383 |
+
z-index: 9999 !important;
|
| 384 |
}
|