Spaces:
Running
Running
Update style/defaults/style.css
Browse files- style/defaults/style.css +21 -85
style/defaults/style.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
|
| 2 |
/* viewer.css */
|
| 3 |
|
| 4 |
/* Widget container styling */
|
|
@@ -110,13 +109,14 @@ progress::-moz-progress-bar {
|
|
| 110 |
background-color: #4682B4;
|
| 111 |
border-radius: 10px;
|
| 112 |
}
|
|
|
|
| 113 |
/* Menu (instructions) content styling */
|
| 114 |
.menu-content {
|
| 115 |
display: none;
|
| 116 |
position: absolute;
|
| 117 |
top: 50%; left: 50%;
|
| 118 |
transform: translate(-50%, -50%);
|
| 119 |
-
background: rgba(242,240,239,0.
|
| 120 |
color: #545454;
|
| 121 |
border: 1px solid #ddd;
|
| 122 |
border-radius: 10px;
|
|
@@ -126,13 +126,12 @@ progress::-moz-progress-bar {
|
|
| 126 |
box-shadow: none;
|
| 127 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
| 128 |
z-index: 1010;
|
| 129 |
-
max-width: 90vw;
|
| 130 |
-
max-height: 90%;
|
| 131 |
-
overflow-y: auto;
|
| 132 |
-
overflow-x: auto;
|
| 133 |
box-sizing: border-box;
|
| 134 |
}
|
| 135 |
-
|
| 136 |
.help-close {
|
| 137 |
position: absolute;
|
| 138 |
top: 8px;
|
|
@@ -182,9 +181,6 @@ progress::-moz-progress-bar {
|
|
| 182 |
:-moz-full-screen .widget-button,
|
| 183 |
:-ms-fullscreen .widget-button { z-index: 10000; }
|
| 184 |
|
| 185 |
-
/* --------- TOOLTIP PANEL ----------- */
|
| 186 |
-
/* ...rest of your CSS remains unchanged... */
|
| 187 |
-
|
| 188 |
/* --------- TOOLTIP PANEL ----------- */
|
| 189 |
.tooltip-panel {
|
| 190 |
position: absolute;
|
|
@@ -210,33 +206,6 @@ progress::-moz-progress-bar {
|
|
| 210 |
box-sizing: border-box;
|
| 211 |
}
|
| 212 |
|
| 213 |
-
@media (max-width: 600px) {
|
| 214 |
-
.tooltip-panel {
|
| 215 |
-
top: auto;
|
| 216 |
-
bottom: 8px;
|
| 217 |
-
left: 3vw;
|
| 218 |
-
right: 3vw;
|
| 219 |
-
transform: none;
|
| 220 |
-
width: auto;
|
| 221 |
-
max-width: 94vw;
|
| 222 |
-
min-width: 0;
|
| 223 |
-
max-height: 55%;
|
| 224 |
-
padding: 20px 10px 12px 10px;
|
| 225 |
-
font-size: 13.5px;
|
| 226 |
-
overflow: auto;
|
| 227 |
-
}
|
| 228 |
-
.tooltip-close {
|
| 229 |
-
top: 8px;
|
| 230 |
-
right: 8px;
|
| 231 |
-
width: 26px;
|
| 232 |
-
height: 26px;
|
| 233 |
-
font-size: 15px;
|
| 234 |
-
}
|
| 235 |
-
.tooltip-image {
|
| 236 |
-
max-height: 22vh;
|
| 237 |
-
}
|
| 238 |
-
}
|
| 239 |
-
|
| 240 |
/* Ensure content does not go under close button */
|
| 241 |
.tooltip-content {
|
| 242 |
width: 100%;
|
|
@@ -300,53 +269,34 @@ progress::-moz-progress-bar {
|
|
| 300 |
|
| 301 |
/* --- MOBILE adjustments --- */
|
| 302 |
@media (max-width: 600px) {
|
| 303 |
-
.
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
width: auto;
|
| 310 |
-
max-width: 94vw;
|
| 311 |
-
min-width: 0;
|
| 312 |
-
max-height: 55vh;
|
| 313 |
-
padding: 16px 10px 12px 10px;
|
| 314 |
-
font-size: 13.5px;
|
| 315 |
-
}
|
| 316 |
-
.tooltip-close {
|
| 317 |
-
top: 8px;
|
| 318 |
-
right: 8px;
|
| 319 |
-
width: 26px;
|
| 320 |
-
height: 26px;
|
| 321 |
-
font-size: 15px;
|
| 322 |
}
|
| 323 |
-
.
|
| 324 |
-
|
|
|
|
| 325 |
}
|
| 326 |
-
}
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
/* --- Mobile adjustments --- */
|
| 330 |
-
@media (max-width: 600px) {
|
| 331 |
.tooltip-panel {
|
| 332 |
top: auto;
|
| 333 |
bottom: 8px;
|
| 334 |
-
right: 3vw;
|
| 335 |
left: 3vw;
|
|
|
|
| 336 |
transform: none;
|
| 337 |
width: auto;
|
| 338 |
max-width: 94vw;
|
| 339 |
min-width: 0;
|
| 340 |
-
max-height:
|
| 341 |
-
padding:
|
| 342 |
font-size: 13.5px;
|
| 343 |
-
|
| 344 |
-
.tooltip-content {
|
| 345 |
-
min-width: 0;
|
| 346 |
}
|
| 347 |
.tooltip-close {
|
| 348 |
-
top:
|
| 349 |
-
right:
|
| 350 |
width: 26px;
|
| 351 |
height: 26px;
|
| 352 |
font-size: 15px;
|
|
@@ -370,17 +320,3 @@ progress::-moz-progress-bar {
|
|
| 370 |
#application-canvas { width: 100%; height: 100%; display: block; }
|
| 371 |
html, body { margin: 0; padding: 0; height: 100%; }
|
| 372 |
.progress-dialog p { margin: 0; padding: 5px; }
|
| 373 |
-
|
| 374 |
-
@media (max-width: 600px) {
|
| 375 |
-
.menu-content {
|
| 376 |
-
width: 85vw;
|
| 377 |
-
max-height: 90%;
|
| 378 |
-
overflow-y: auto;
|
| 379 |
-
padding: 40px 18px 14px;
|
| 380 |
-
font-size: 14px;
|
| 381 |
-
}
|
| 382 |
-
.menu-content .help-close {
|
| 383 |
-
top: 6px;
|
| 384 |
-
right: 6px;
|
| 385 |
-
}
|
| 386 |
-
}
|
|
|
|
|
|
|
| 1 |
/* viewer.css */
|
| 2 |
|
| 3 |
/* Widget container styling */
|
|
|
|
| 109 |
background-color: #4682B4;
|
| 110 |
border-radius: 10px;
|
| 111 |
}
|
| 112 |
+
|
| 113 |
/* Menu (instructions) content styling */
|
| 114 |
.menu-content {
|
| 115 |
display: none;
|
| 116 |
position: absolute;
|
| 117 |
top: 50%; left: 50%;
|
| 118 |
transform: translate(-50%, -50%);
|
| 119 |
+
background: rgba(242,240,239,0.87); /* Slightly more transparent */
|
| 120 |
color: #545454;
|
| 121 |
border: 1px solid #ddd;
|
| 122 |
border-radius: 10px;
|
|
|
|
| 126 |
box-shadow: none;
|
| 127 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
| 128 |
z-index: 1010;
|
| 129 |
+
max-width: 90vw;
|
| 130 |
+
max-height: 90%;
|
| 131 |
+
overflow-y: auto;
|
| 132 |
+
overflow-x: auto;
|
| 133 |
box-sizing: border-box;
|
| 134 |
}
|
|
|
|
| 135 |
.help-close {
|
| 136 |
position: absolute;
|
| 137 |
top: 8px;
|
|
|
|
| 181 |
:-moz-full-screen .widget-button,
|
| 182 |
:-ms-fullscreen .widget-button { z-index: 10000; }
|
| 183 |
|
|
|
|
|
|
|
|
|
|
| 184 |
/* --------- TOOLTIP PANEL ----------- */
|
| 185 |
.tooltip-panel {
|
| 186 |
position: absolute;
|
|
|
|
| 206 |
box-sizing: border-box;
|
| 207 |
}
|
| 208 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 209 |
/* Ensure content does not go under close button */
|
| 210 |
.tooltip-content {
|
| 211 |
width: 100%;
|
|
|
|
| 269 |
|
| 270 |
/* --- MOBILE adjustments --- */
|
| 271 |
@media (max-width: 600px) {
|
| 272 |
+
.menu-content {
|
| 273 |
+
width: 85vw;
|
| 274 |
+
max-height: 90%;
|
| 275 |
+
overflow-y: auto;
|
| 276 |
+
padding: 40px 18px 14px;
|
| 277 |
+
font-size: 14px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 278 |
}
|
| 279 |
+
.menu-content .help-close {
|
| 280 |
+
top: 6px;
|
| 281 |
+
right: 6px;
|
| 282 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 283 |
.tooltip-panel {
|
| 284 |
top: auto;
|
| 285 |
bottom: 8px;
|
|
|
|
| 286 |
left: 3vw;
|
| 287 |
+
right: 3vw;
|
| 288 |
transform: none;
|
| 289 |
width: auto;
|
| 290 |
max-width: 94vw;
|
| 291 |
min-width: 0;
|
| 292 |
+
max-height: 55%;
|
| 293 |
+
padding: 20px 10px 12px 10px;
|
| 294 |
font-size: 13.5px;
|
| 295 |
+
overflow: auto;
|
|
|
|
|
|
|
| 296 |
}
|
| 297 |
.tooltip-close {
|
| 298 |
+
top: 8px;
|
| 299 |
+
right: 8px;
|
| 300 |
width: 26px;
|
| 301 |
height: 26px;
|
| 302 |
font-size: 15px;
|
|
|
|
| 320 |
#application-canvas { width: 100%; height: 100%; display: block; }
|
| 321 |
html, body { margin: 0; padding: 0; height: 100%; }
|
| 322 |
.progress-dialog p { margin: 0; padding: 5px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|