Spaces:
Running
Running
Update style/defaults/style.css
Browse files- style/defaults/style.css +79 -53
style/defaults/style.css
CHANGED
|
@@ -128,60 +128,23 @@ progress::-moz-progress-bar {
|
|
| 128 |
z-index: 1010;
|
| 129 |
max-width: 90vw;
|
| 130 |
max-height: 90%;
|
| 131 |
-
overflow
|
| 132 |
-
|
| 133 |
box-sizing: border-box;
|
| 134 |
}
|
| 135 |
-
.
|
| 136 |
-
|
| 137 |
-
top: 8px;
|
| 138 |
-
right: 8px;
|
| 139 |
-
background-color: #B0B0B0;
|
| 140 |
-
color: #333;
|
| 141 |
-
border: none;
|
| 142 |
-
border-radius: 4px;
|
| 143 |
-
width: 24px;
|
| 144 |
-
height: 24px;
|
| 145 |
-
line-height: 24px;
|
| 146 |
-
text-align: center;
|
| 147 |
-
cursor: pointer;
|
| 148 |
-
font-size: 16px;
|
| 149 |
-
display: flex;
|
| 150 |
-
align-items: center;
|
| 151 |
-
justify-content: center;
|
| 152 |
-
padding: 0;
|
| 153 |
}
|
| 154 |
-
.
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
border-radius:
|
| 161 |
-
cursor: pointer;
|
| 162 |
-
font-size: 16px;
|
| 163 |
-
color: #545454;
|
| 164 |
-
display: flex !important;
|
| 165 |
-
align-items: center;
|
| 166 |
-
justify-content: center;
|
| 167 |
-
transition: background-color 0.2s ease;
|
| 168 |
-
z-index: 1000;
|
| 169 |
-
opacity: 1 !important;
|
| 170 |
-
visibility: visible !important;
|
| 171 |
-
margin-right: 8px;
|
| 172 |
}
|
| 173 |
-
.widget-button:hover { background-color: rgba(242,240,239,0.7); }
|
| 174 |
-
.fullscreen-toggle { top: 12px; right: 12px; }
|
| 175 |
-
.help-toggle { top: 12px; right: 52px; font-size: 18px; }
|
| 176 |
-
.reset-camera-btn { top: 12px; right: 92px; font-size: 18px; line-height: normal; padding: 0; }
|
| 177 |
-
.tooltips-toggle { top: 12px; right: 132px; font-size: 18px; }
|
| 178 |
-
.fake-fullscreen .widget-button,
|
| 179 |
-
:fullscreen .widget-button,
|
| 180 |
-
:-webkit-full-screen .widget-button,
|
| 181 |
-
:-moz-full-screen .widget-button,
|
| 182 |
-
:-ms-fullscreen .widget-button { z-index: 10000; }
|
| 183 |
|
| 184 |
-
/*
|
| 185 |
.tooltip-panel {
|
| 186 |
position: absolute;
|
| 187 |
top: 50%;
|
|
@@ -202,9 +165,21 @@ progress::-moz-progress-bar {
|
|
| 202 |
flex-direction: column;
|
| 203 |
align-items: flex-start;
|
| 204 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
| 205 |
-
overflow:
|
|
|
|
| 206 |
box-sizing: border-box;
|
| 207 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
|
| 209 |
/* Ensure content does not go under close button */
|
| 210 |
.tooltip-content {
|
|
@@ -267,12 +242,62 @@ progress::-moz-progress-bar {
|
|
| 267 |
box-sizing: border-box;
|
| 268 |
}
|
| 269 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 270 |
/* --- MOBILE adjustments --- */
|
| 271 |
@media (max-width: 600px) {
|
| 272 |
.menu-content {
|
| 273 |
width: 85vw;
|
| 274 |
max-height: 90%;
|
| 275 |
-
overflow
|
|
|
|
| 276 |
padding: 40px 18px 14px;
|
| 277 |
font-size: 14px;
|
| 278 |
}
|
|
@@ -289,10 +314,11 @@ progress::-moz-progress-bar {
|
|
| 289 |
width: auto;
|
| 290 |
max-width: 94vw;
|
| 291 |
min-width: 0;
|
| 292 |
-
max-height:
|
| 293 |
padding: 20px 10px 12px 10px;
|
| 294 |
font-size: 13.5px;
|
| 295 |
-
overflow:
|
|
|
|
| 296 |
}
|
| 297 |
.tooltip-close {
|
| 298 |
top: 8px;
|
|
|
|
| 128 |
z-index: 1010;
|
| 129 |
max-width: 90vw;
|
| 130 |
max-height: 90%;
|
| 131 |
+
overflow: scroll !important;
|
| 132 |
+
scrollbar-gutter: stable both-edges;
|
| 133 |
box-sizing: border-box;
|
| 134 |
}
|
| 135 |
+
.menu-content::-webkit-scrollbar {
|
| 136 |
+
width: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
}
|
| 138 |
+
.menu-content::-webkit-scrollbar-thumb {
|
| 139 |
+
background: #cccccc;
|
| 140 |
+
border-radius: 6px;
|
| 141 |
+
}
|
| 142 |
+
.menu-content::-webkit-scrollbar-track {
|
| 143 |
+
background: #f0f0f0;
|
| 144 |
+
border-radius: 6px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 146 |
|
| 147 |
+
/* Tooltip panel */
|
| 148 |
.tooltip-panel {
|
| 149 |
position: absolute;
|
| 150 |
top: 50%;
|
|
|
|
| 165 |
flex-direction: column;
|
| 166 |
align-items: flex-start;
|
| 167 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
| 168 |
+
overflow: scroll !important;
|
| 169 |
+
scrollbar-gutter: stable both-edges;
|
| 170 |
box-sizing: border-box;
|
| 171 |
}
|
| 172 |
+
.tooltip-panel::-webkit-scrollbar {
|
| 173 |
+
width: 10px;
|
| 174 |
+
}
|
| 175 |
+
.tooltip-panel::-webkit-scrollbar-thumb {
|
| 176 |
+
background: #cccccc;
|
| 177 |
+
border-radius: 6px;
|
| 178 |
+
}
|
| 179 |
+
.tooltip-panel::-webkit-scrollbar-track {
|
| 180 |
+
background: #f0f0f0;
|
| 181 |
+
border-radius: 6px;
|
| 182 |
+
}
|
| 183 |
|
| 184 |
/* Ensure content does not go under close button */
|
| 185 |
.tooltip-content {
|
|
|
|
| 242 |
box-sizing: border-box;
|
| 243 |
}
|
| 244 |
|
| 245 |
+
.help-close {
|
| 246 |
+
position: absolute;
|
| 247 |
+
top: 8px;
|
| 248 |
+
right: 8px;
|
| 249 |
+
background-color: #B0B0B0;
|
| 250 |
+
color: #333;
|
| 251 |
+
border: none;
|
| 252 |
+
border-radius: 4px;
|
| 253 |
+
width: 24px;
|
| 254 |
+
height: 24px;
|
| 255 |
+
line-height: 24px;
|
| 256 |
+
text-align: center;
|
| 257 |
+
cursor: pointer;
|
| 258 |
+
font-size: 16px;
|
| 259 |
+
display: flex;
|
| 260 |
+
align-items: center;
|
| 261 |
+
justify-content: center;
|
| 262 |
+
padding: 0;
|
| 263 |
+
}
|
| 264 |
+
.widget-button {
|
| 265 |
+
position: absolute;
|
| 266 |
+
width: 32px;
|
| 267 |
+
height: 32px;
|
| 268 |
+
background-color: #F2F0EF;
|
| 269 |
+
border: 1px solid #ccc;
|
| 270 |
+
border-radius: 8px;
|
| 271 |
+
cursor: pointer;
|
| 272 |
+
font-size: 16px;
|
| 273 |
+
color: #545454;
|
| 274 |
+
display: flex !important;
|
| 275 |
+
align-items: center;
|
| 276 |
+
justify-content: center;
|
| 277 |
+
transition: background-color 0.2s ease;
|
| 278 |
+
z-index: 1000;
|
| 279 |
+
opacity: 1 !important;
|
| 280 |
+
visibility: visible !important;
|
| 281 |
+
margin-right: 8px;
|
| 282 |
+
}
|
| 283 |
+
.widget-button:hover { background-color: rgba(242,240,239,0.7); }
|
| 284 |
+
.fullscreen-toggle { top: 12px; right: 12px; }
|
| 285 |
+
.help-toggle { top: 12px; right: 52px; font-size: 18px; }
|
| 286 |
+
.reset-camera-btn { top: 12px; right: 92px; font-size: 18px; line-height: normal; padding: 0; }
|
| 287 |
+
.tooltips-toggle { top: 12px; right: 132px; font-size: 18px; }
|
| 288 |
+
.fake-fullscreen .widget-button,
|
| 289 |
+
:fullscreen .widget-button,
|
| 290 |
+
:-webkit-full-screen .widget-button,
|
| 291 |
+
:-moz-full-screen .widget-button,
|
| 292 |
+
:-ms-fullscreen .widget-button { z-index: 10000; }
|
| 293 |
+
|
| 294 |
/* --- MOBILE adjustments --- */
|
| 295 |
@media (max-width: 600px) {
|
| 296 |
.menu-content {
|
| 297 |
width: 85vw;
|
| 298 |
max-height: 90%;
|
| 299 |
+
overflow: scroll !important;
|
| 300 |
+
scrollbar-gutter: stable both-edges;
|
| 301 |
padding: 40px 18px 14px;
|
| 302 |
font-size: 14px;
|
| 303 |
}
|
|
|
|
| 314 |
width: auto;
|
| 315 |
max-width: 94vw;
|
| 316 |
min-width: 0;
|
| 317 |
+
max-height: 55%;
|
| 318 |
padding: 20px 10px 12px 10px;
|
| 319 |
font-size: 13.5px;
|
| 320 |
+
overflow: scroll !important;
|
| 321 |
+
scrollbar-gutter: stable both-edges;
|
| 322 |
}
|
| 323 |
.tooltip-close {
|
| 324 |
top: 8px;
|