MikaFil commited on
Commit
0f8ec44
·
verified ·
1 Parent(s): dc2a690

Update style/defaults/style.css

Browse files
Files changed (1) hide show
  1. style/defaults/style.css +203 -218
style/defaults/style.css CHANGED
@@ -1,5 +1,3 @@
1
- /* viewer.css */
2
-
3
  /* Widget container styling */
4
  .ply-widget-container {
5
  position: relative;
@@ -9,67 +7,17 @@
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;
16
  left: 0 !important;
17
  width: 100vw !important;
18
- height: 100vh !importaconst menuContent = document.getElementById('menu-content-' + instanceId);
19
- // ... other DOM elements ...
20
-
21
- const isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
22
- const isMobile = isIOS || /Android/i.test(navigator.userAgent);
23
-
24
- // ... help text and viewer initialization ...
25
-
26
- // --- Responsive menu sizing for mobile: robust fallback JS ---
27
- function setMenuContentMaxSize() {
28
- if (!isMobile) {
29
- menuContent.style.maxWidth = "";
30
- menuContent.style.maxHeight = "";
31
- menuContent.style.overflowY = "";
32
- menuContent.style.overflowX = "";
33
- return;
34
- }
35
- let parent = viewerContainerElem;
36
- if (parent) {
37
- // Get the parent's size (the viewer's actual rendered box)
38
- const vw = parent.offsetWidth;
39
- const vh = parent.offsetHeight;
40
- if (vw && vh) {
41
- // 80% of parent
42
- menuContent.style.maxWidth = Math.round(vw * 0.8) + "px";
43
- menuContent.style.maxHeight = Math.round(vh * 0.8) + "px";
44
- menuContent.style.overflowY = "auto";
45
- menuContent.style.overflowX = "auto";
46
- } else {
47
- // fallback to 80vw/80vh if dimensions are not found
48
- menuContent.style.maxWidth = "80vw";
49
- menuContent.style.maxHeight = "80vh";
50
- }
51
- }
52
- }
53
- // Initial call
54
- setMenuContentMaxSize();
55
- // Update on resize or fullscreen toggle
56
- window.addEventListener('resize', setMenuContentMaxSize);
57
- document.addEventListener('fullscreenchange', setMenuContentMaxSize);
58
- // Optional: update if your viewer supports orientationchange on mobile
59
- window.addEventListener('orientationchange', setMenuContentMaxSize);
60
-
61
- // ... rest of your event listeners and logic (help panel, fullscreen, etc) ...
62
-
63
- // Example: show/hide menu-content logic stays unchanged
64
- menuContent.style.display = (isMobile ? 'none' : 'block'); // Don't show by default on mobile
65
-
66
- helpToggle.addEventListener('click', (e) => {
67
- hideTooltipPanel();
68
- e.stopPropagation();
69
- // Only show/hide, the sizing is handled above
70
- menuContent.style.display = menuContent.style.display === 'block' ? 'none' : 'block';
71
- });
72
- helpCloseBtn.addEventListener('click', () => { menuContent.style.display = 'none'; });nt;
73
  padding-bottom: 0 !important;
74
  z-index: 9999 !important;
75
  background-color: black;
@@ -80,6 +28,8 @@ helpCloseBtn.addEventListener('click', () => { menuContent.style.display = 'none
80
  box-sizing: border-box;
81
  overflow: hidden;
82
  }
 
 
83
  .ply-widget-container:fullscreen,
84
  .ply-widget-container:-webkit-full-screen,
85
  .ply-widget-container:-moz-full-screen,
@@ -90,11 +40,14 @@ helpCloseBtn.addEventListener('click', () => { menuContent.style.display = 'none
90
  border-radius: 0 !important;
91
  background-color: black;
92
  }
 
 
93
  .viewer-container {
94
  display: none;
95
  position: absolute;
96
  top: 0; left: 0; right: 0; bottom: 0;
97
- width: 100%; height: 100%;
 
98
  background: black;
99
  border: 1px solid #474558;
100
  border-radius: 10px;
@@ -103,7 +56,11 @@ helpCloseBtn.addEventListener('click', () => { menuContent.style.display = 'none
103
  transition: all 0.3s ease;
104
  min-height: 100%;
105
  object-fit: contain;
 
 
106
  }
 
 
107
  .fake-fullscreen .viewer-container,
108
  :fullscreen .viewer-container,
109
  :-webkit-full-screen .viewer-container,
@@ -114,6 +71,8 @@ helpCloseBtn.addEventListener('click', () => { menuContent.style.display = 'none
114
  width: 100%;
115
  height: 100%;
116
  }
 
 
117
  .ply-canvas {
118
  width: 100%;
119
  height: 100%;
@@ -122,15 +81,10 @@ helpCloseBtn.addEventListener('click', () => { menuContent.style.display = 'none
122
  z-index: 1;
123
  position: absolute;
124
  top: 0; left: 0; right: 0; bottom: 0;
 
125
  }
126
- .fake-fullscreen .ply-canvas,
127
- :fullscreen .ply-canvas,
128
- :-webkit-full-screen .ply-canvas,
129
- :-moz-full-screen .ply-canvas,
130
- :-ms-fullscreen .ply-canvas {
131
- width: 100vw;
132
- height: 100vh;
133
- }
134
  .progress-dialog {
135
  position: absolute;
136
  top: 50%; left: 50%;
@@ -143,6 +97,7 @@ helpCloseBtn.addEventListener('click', () => { menuContent.style.display = 'none
143
  display: none;
144
  color: white;
145
  }
 
146
  progress {
147
  width: 250px;
148
  height: 15px;
@@ -163,13 +118,68 @@ progress::-moz-progress-bar {
163
  background-color: #4682B4;
164
  border-radius: 10px;
165
  }
166
- /* Menu (instructions) content styling */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  .menu-content {
168
  display: none;
169
  position: absolute;
170
  top: 50%; left: 50%;
171
  transform: translate(-50%, -50%);
172
- background: rgba(242,240,239,0.9);
173
  color: #545454;
174
  border: 1px solid #ddd;
175
  border-radius: 10px;
@@ -179,7 +189,13 @@ progress::-moz-progress-bar {
179
  box-shadow: none;
180
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
181
  z-index: 1010;
 
 
 
 
 
182
  }
 
183
  .help-close {
184
  position: absolute;
185
  top: 8px;
@@ -194,214 +210,183 @@ progress::-moz-progress-bar {
194
  text-align: center;
195
  cursor: pointer;
196
  font-size: 16px;
197
- display: flex;
198
- align-items: center;
199
- justify-content: center;
200
- padding: 0;
201
- }
202
- .widget-button {
203
- position: absolute;
204
- width: 32px;
205
- height: 32px;
206
- background-color: #F2F0EF;
207
- border: 1px solid #ccc;
208
- border-radius: 8px;
209
- cursor: pointer;
210
- font-size: 16px;
211
- color: #545454;
212
- display: flex !important;
213
- align-items: center;
214
- justify-content: center;
215
- transition: background-color 0.2s ease;
216
- z-index: 1000;
217
- opacity: 1 !important;
218
- visibility: visible !important;
219
- margin-right: 8px;
220
  }
221
- .widget-button:hover { background-color: rgba(242,240,239,0.7); }
222
- .fullscreen-toggle { top: 12px; right: 12px; }
223
- .help-toggle { top: 12px; right: 52px; font-size: 18px; }
224
- .reset-camera-btn { top: 12px; right: 92px; font-size: 18px; line-height: normal; padding: 0; }
225
- .tooltips-toggle { top: 12px; right: 132px; font-size: 18px; }
226
- .fake-fullscreen .widget-button,
227
- :fullscreen .widget-button,
228
- :-webkit-full-screen .widget-button,
229
- :-moz-full-screen .widget-button,
230
- :-ms-fullscreen .widget-button { z-index: 10000; }
231
-
232
- /* --------- TOOLTIP PANEL ----------- */
233
- /* ...rest of your CSS remains unchanged... */
234
 
235
- /* --------- TOOLTIP PANEL ----------- */
236
  .tooltip-panel {
237
  position: absolute;
238
  top: 50%;
239
  right: 5%;
240
- transform: translate(0, -50%);
241
  background: rgba(242,240,239,0.97);
242
  color: #545454;
243
  border: 1px solid #ddd;
244
- border-radius: 6px;
245
- padding: 20px 20px 16px 16px; /* Extra top/right for button */
246
- max-width: 340px;
247
- width: 92vw;
248
- min-width: 180px;
249
- min-height: 60px;
250
- max-height: 90vh;
251
- z-index: 20000;
252
  display: none;
253
  flex-direction: column;
254
  align-items: flex-start;
255
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
256
- overflow: auto;
 
257
  box-sizing: border-box;
258
- position: absolute;
259
  }
260
-
261
- /* Ensure content does not go under close button */
262
  .tooltip-content {
 
263
  width: 100%;
264
- min-width: 160px;
265
- max-width: 100%;
266
  box-sizing: border-box;
267
- display: flex;
268
- flex-direction: column;
269
- align-items: flex-start;
270
- overflow: hidden;
271
- margin-top: 0;
272
  }
273
-
274
- /* CLOSE BUTTON AS SQUARE WITH ROUNDED CORNERS */
275
  .tooltip-close {
276
  position: absolute;
277
- top: 12px;
278
- right: 12px;
279
  width: 32px;
280
  height: 32px;
281
  background: #F2F0EF;
282
- color: #333;
283
  border: 1px solid #ccc;
284
  border-radius: 8px;
285
- font-size: 17px;
286
- font-weight: bold;
287
  display: flex;
288
  align-items: center;
289
  justify-content: center;
290
- line-height: 1;
291
  cursor: pointer;
292
- z-index: 2;
293
- transition: background 0.18s;
294
  box-sizing: border-box;
 
 
295
  padding: 0;
 
296
  }
297
- .tooltip-close:hover,
298
- .tooltip-close:focus {
299
- background: #e0e0e0;
300
- outline: none;
301
  }
302
-
303
- /* Tooltip text and image */
304
  .tooltip-text {
305
  margin-bottom: 10px;
306
  font-size: 14px;
307
  line-height: 1.4;
308
- overflow-wrap: break-word;
309
  word-break: break-word;
310
- max-width: 100%;
311
  }
312
  .tooltip-image {
313
  max-width: 100%;
314
- max-height: 35vh;
315
  border-radius: 4px;
316
  margin-top: 5px;
317
  display: block;
318
- object-fit: contain;
319
- box-sizing: border-box;
320
  }
321
 
322
- /* --- MOBILE adjustments --- */
323
- @media (max-width: 600px) {
324
- .tooltip-panel {
325
- top: auto;
326
- bottom: 8px;
327
- right: 3vw;
328
- left: 3vw;
329
- transform: none;
330
- width: auto;
331
- max-width: 94vw;
332
- min-width: 0;
333
- max-height: 55vh;
334
- padding: 16px 10px 12px 10px;
335
- font-size: 13.5px;
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
- /* --- Mobile adjustments --- */
351
- @media (max-width: 600px) {
352
- .tooltip-panel {
353
- top: auto;
354
- bottom: 8px;
355
- right: 3vw;
356
- left: 3vw;
357
- transform: none;
358
- width: auto;
359
- max-width: 94vw;
360
- min-width: 0;
361
- max-height: 55vh;
362
- padding: 28px 14px 12px 12px; /* extra for top, right */
363
- font-size: 13.5px;
364
- }
365
- .tooltip-content {
366
- min-width: 0;
367
  }
368
- .tooltip-close {
369
  top: 6px;
370
  right: 6px;
371
- width: 26px;
372
- height: 26px;
373
- font-size: 15px;
374
  }
375
- .tooltip-image {
376
- max-height: 22vh;
 
 
 
 
 
 
 
 
 
377
  }
378
  }
379
 
380
- .ply-widget-container.mobile .widget-button {
381
- width: 24px;
382
- height: 24px;
383
- font-size: 12px;
 
 
 
 
 
 
384
  }
385
- .ply-widget-container.mobile .help-toggle { font-size: 14px; }
386
- .ply-widget-container.mobile .fullscreen-toggle { top: 8px; right: 8px; }
387
- .ply-widget-container.mobile .help-toggle { top: 8px; right: 40px; }
388
- .ply-widget-container.mobile .reset-camera-btn { top: 8px; right: 72px; }
389
- .ply-widget-container.mobile .tooltips-toggle { top: 8px; right: 104px; }
390
 
391
- #application-canvas { width: 100%; height: 100%; display: block; }
392
- html, body { margin: 0; padding: 0; height: 100%; }
393
- .progress-dialog p { margin: 0; padding: 5px; }
 
 
394
 
395
- @media (max-width: 600px) {
396
- .ply-widget-container .menu-content {
397
- max-width: 80vw !important;
398
- max-height: 80vh !important;
399
- overflow-y: auto !important;
400
- overflow-x: auto !important;
401
- left: 50% !important;
402
- top: 50% !important;
403
- transform: translate(-50%, -50%) !important;
404
- box-sizing: border-box !important;
405
- }
 
 
 
 
406
  }
407
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /* Widget container styling */
2
  .ply-widget-container {
3
  position: relative;
 
7
  transition: all 0.3s ease;
8
  box-sizing: border-box;
9
  overflow: hidden;
10
+ pointer-events: auto !important;
11
+ z-index: 10 !important;
12
  }
13
+
14
+ /* Fake fullscreen (iOS fallback) */
15
  .ply-widget-container.fake-fullscreen {
16
  position: fixed !important;
17
  top: 0 !important;
18
  left: 0 !important;
19
  width: 100vw !important;
20
+ height: 100vh !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  padding-bottom: 0 !important;
22
  z-index: 9999 !important;
23
  background-color: black;
 
28
  box-sizing: border-box;
29
  overflow: hidden;
30
  }
31
+
32
+ /* For native fullscreen */
33
  .ply-widget-container:fullscreen,
34
  .ply-widget-container:-webkit-full-screen,
35
  .ply-widget-container:-moz-full-screen,
 
40
  border-radius: 0 !important;
41
  background-color: black;
42
  }
43
+
44
+ /* Viewer container styling */
45
  .viewer-container {
46
  display: none;
47
  position: absolute;
48
  top: 0; left: 0; right: 0; bottom: 0;
49
+ width: 100%;
50
+ height: 100%;
51
  background: black;
52
  border: 1px solid #474558;
53
  border-radius: 10px;
 
56
  transition: all 0.3s ease;
57
  min-height: 100%;
58
  object-fit: contain;
59
+ pointer-events: auto !important;
60
+ z-index: 100 !important;
61
  }
62
+
63
+ /* Fullscreen viewer tweaks */
64
  .fake-fullscreen .viewer-container,
65
  :fullscreen .viewer-container,
66
  :-webkit-full-screen .viewer-container,
 
71
  width: 100%;
72
  height: 100%;
73
  }
74
+
75
+ /* Canvas styling */
76
  .ply-canvas {
77
  width: 100%;
78
  height: 100%;
 
81
  z-index: 1;
82
  position: absolute;
83
  top: 0; left: 0; right: 0; bottom: 0;
84
+ pointer-events: auto !important;
85
  }
86
+
87
+ /* Progress dialog styling */
 
 
 
 
 
 
88
  .progress-dialog {
89
  position: absolute;
90
  top: 50%; left: 50%;
 
97
  display: none;
98
  color: white;
99
  }
100
+
101
  progress {
102
  width: 250px;
103
  height: 15px;
 
118
  background-color: #4682B4;
119
  border-radius: 10px;
120
  }
121
+
122
+ /* Widget Buttons */
123
+ .widget-button {
124
+ position: absolute;
125
+ width: 32px;
126
+ height: 32px;
127
+ background-color: #F2F0EF;
128
+ border: 1px solid #ccc;
129
+ border-radius: 8px;
130
+ cursor: pointer;
131
+ font-size: 16px;
132
+ color: #545454;
133
+ display: flex !important;
134
+ align-items: center;
135
+ justify-content: center;
136
+ transition: background-color 0.2s ease;
137
+ z-index: 1000 !important;
138
+ opacity: 1 !important;
139
+ visibility: visible !important;
140
+ margin-right: 8px;
141
+ pointer-events: auto !important;
142
+ }
143
+ .widget-button:hover {
144
+ background-color: rgba(242,240,239,0.7);
145
+ }
146
+ .fullscreen-toggle {
147
+ top: 12px;
148
+ right: 12px;
149
+ }
150
+ .help-toggle {
151
+ top: 12px;
152
+ right: 52px;
153
+ font-size: 18px;
154
+ }
155
+ .reset-camera-btn {
156
+ top: 12px;
157
+ right: 92px;
158
+ font-size: 18px;
159
+ line-height: normal;
160
+ padding: 0;
161
+ }
162
+ .tooltips-toggle {
163
+ top: 12px;
164
+ right: 132px;
165
+ font-size: 18px;
166
+ }
167
+
168
+ .fake-fullscreen .widget-button,
169
+ :fullscreen .widget-button,
170
+ :-webkit-full-screen .widget-button,
171
+ :-moz-full-screen .widget-button,
172
+ :-ms-fullscreen .widget-button {
173
+ z-index: 10000;
174
+ }
175
+
176
+ /* -------- HELP MENU PANEL -------- */
177
  .menu-content {
178
  display: none;
179
  position: absolute;
180
  top: 50%; left: 50%;
181
  transform: translate(-50%, -50%);
182
+ background: rgba(242,240,239,0.93);
183
  color: #545454;
184
  border: 1px solid #ddd;
185
  border-radius: 10px;
 
189
  box-shadow: none;
190
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
191
  z-index: 1010;
192
+ pointer-events: auto !important;
193
+ box-sizing: border-box;
194
+ overflow: visible;
195
+ max-width: none;
196
+ max-height: none;
197
  }
198
+
199
  .help-close {
200
  position: absolute;
201
  top: 8px;
 
210
  text-align: center;
211
  cursor: pointer;
212
  font-size: 16px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
214
 
215
+ /* -------- TOOLTIP PANEL -------- */
216
  .tooltip-panel {
217
  position: absolute;
218
  top: 50%;
219
  right: 5%;
220
+ transform: translate(0%, -50%);
221
  background: rgba(242,240,239,0.97);
222
  color: #545454;
223
  border: 1px solid #ddd;
224
+ border-radius: 8px;
225
+ padding: 15px 12px 15px 15px;
226
+ max-width: 90vw;
227
+ max-height: 70vh;
228
+ z-index: 20000 !important;
 
 
 
229
  display: none;
230
  flex-direction: column;
231
  align-items: flex-start;
232
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
233
+ pointer-events: auto !important;
234
+ overflow: auto !important;
235
  box-sizing: border-box;
 
236
  }
 
 
237
  .tooltip-content {
238
+ position: relative;
239
  width: 100%;
 
 
240
  box-sizing: border-box;
241
+ padding-top: 6px;
242
+ overflow: auto;
243
+ max-height: 65vh;
 
 
244
  }
 
 
245
  .tooltip-close {
246
  position: absolute;
247
+ top: 10px;
248
+ right: 10px;
249
  width: 32px;
250
  height: 32px;
251
  background: #F2F0EF;
252
+ color: #545454;
253
  border: 1px solid #ccc;
254
  border-radius: 8px;
 
 
255
  display: flex;
256
  align-items: center;
257
  justify-content: center;
258
+ font-size: 18px;
259
  cursor: pointer;
260
+ z-index: 10001;
 
261
  box-sizing: border-box;
262
+ pointer-events: auto;
263
+ font-weight: bold;
264
  padding: 0;
265
+ transition: background 0.2s;
266
  }
267
+ .tooltip-close:hover {
268
+ background: #ececec;
 
 
269
  }
 
 
270
  .tooltip-text {
271
  margin-bottom: 10px;
272
  font-size: 14px;
273
  line-height: 1.4;
 
274
  word-break: break-word;
 
275
  }
276
  .tooltip-image {
277
  max-width: 100%;
278
+ height: auto;
279
  border-radius: 4px;
280
  margin-top: 5px;
281
  display: block;
 
 
282
  }
283
 
284
+ /* --------- MOBILE AND RESPONSIVE --------- */
285
+ .ply-widget-container.mobile .widget-button {
286
+ width: 24px;
287
+ height: 24px;
288
+ font-size: 12px;
289
+ }
290
+ .ply-widget-container.mobile .help-toggle {
291
+ font-size: 14px;
292
+ }
293
+ .ply-widget-container.mobile .fullscreen-toggle {
294
+ top: 8px;
295
+ right: 8px;
296
+ }
297
+ .ply-widget-container.mobile .help-toggle {
298
+ top: 8px;
299
+ right: 40px;
300
+ }
301
+ .ply-widget-container.mobile .reset-camera-btn {
302
+ top: 8px;
303
+ right: 72px;
304
+ }
305
+ .ply-widget-container.mobile .tooltips-toggle {
306
+ top: 8px;
307
+ right: 104px;
308
+ }
309
+ .ply-widget-container.mobile .tooltip-panel {
310
+ max-width: 98vw;
311
+ max-height: 54vh;
312
+ padding: 8px 5px 12px 8px;
313
  }
314
 
315
+ /* -------- ENSURE MENU PANEL STAYS WITHIN VIEWER ON MOBILE -------- */
316
+ @media (max-width: 800px) {
317
+ .menu-content {
318
+ max-width: 80vw !important;
319
+ max-height: 80vh !important;
320
+ overflow-y: auto !important;
321
+ overflow-x: auto !important;
322
+ box-sizing: border-box;
323
+ width: auto !important;
324
+ height: auto !important;
325
+ padding: 24px 14px 18px 14px;
326
+ font-size: 14px;
 
 
 
 
 
 
327
  }
328
+ .menu-content .help-close {
329
  top: 6px;
330
  right: 6px;
 
 
 
331
  }
332
+ .tooltip-panel {
333
+ max-width: 98vw;
334
+ max-height: 54vh;
335
+ padding: 8px 5px 12px 8px;
336
+ }
337
+ .tooltip-close {
338
+ width: 28px;
339
+ height: 28px;
340
+ top: 4px;
341
+ right: 4px;
342
+ font-size: 16px;
343
  }
344
  }
345
 
346
+ /* PlayCanvas compatibility */
347
+ #application-canvas {
348
+ width: 100%;
349
+ height: 100%;
350
+ display: block;
351
+ }
352
+ html, body {
353
+ margin: 0;
354
+ padding: 0;
355
+ height: 100%;
356
  }
 
 
 
 
 
357
 
358
+ /* Error message styling */
359
+ .progress-dialog p {
360
+ margin: 0;
361
+ padding: 5px;
362
+ }
363
 
364
+ /* Ensure pointer events for overlays */
365
+ .ply-widget-container,
366
+ .viewer-container,
367
+ .ply-canvas,
368
+ .tooltip-panel,
369
+ .widget-button,
370
+ .menu-content {
371
+ pointer-events: auto !important;
372
+ z-index: 9999 !important;
373
+ }
374
+
375
+ .ply-widget-container,
376
+ .ply-widget-container * {
377
+ pointer-events: auto !important;
378
+ z-index: 2147483647 !important;
379
  }
380
 
381
+ .sqs-block-content * {
382
+ pointer-events: auto !important;
383
+ }
384
+ .ply-widget-container,
385
+ .viewer-container,
386
+ .ply-canvas,
387
+ #application-canvas,
388
+ canvas {
389
+ pointer-events: auto !important;
390
+ touch-action: auto !important;
391
+ z-index: 100 !important;
392
+ }