Update style/defaults/style.css
Browse files- style/defaults/style.css +75 -5
style/defaults/style.css
CHANGED
|
@@ -1,5 +1,3 @@
|
|
| 1 |
-
/* viewer.css */
|
| 2 |
-
|
| 3 |
/* Widget container styling */
|
| 4 |
.ply-widget-container {
|
| 5 |
position: relative;
|
|
@@ -109,7 +107,6 @@ progress::-moz-progress-bar {
|
|
| 109 |
background-color: #4682B4;
|
| 110 |
border-radius: 10px;
|
| 111 |
}
|
| 112 |
-
|
| 113 |
/* Menu (instructions) content styling */
|
| 114 |
.menu-content {
|
| 115 |
display: none;
|
|
@@ -143,7 +140,36 @@ progress::-moz-progress-bar {
|
|
| 143 |
border-radius: 8px;
|
| 144 |
}
|
| 145 |
|
| 146 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
.tooltip-panel {
|
| 148 |
position: absolute;
|
| 149 |
top: 50%;
|
|
@@ -180,7 +206,7 @@ progress::-moz-progress-bar {
|
|
| 180 |
border-radius: 8px;
|
| 181 |
}
|
| 182 |
|
| 183 |
-
/*
|
| 184 |
.tooltip-content {
|
| 185 |
width: 100%;
|
| 186 |
max-width: 100%;
|
|
@@ -235,6 +261,50 @@ progress::-moz-progress-bar {
|
|
| 235 |
box-sizing: border-box;
|
| 236 |
}
|
| 237 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 238 |
/* --- MOBILE adjustments --- */
|
| 239 |
@media (max-width: 600px) {
|
| 240 |
.menu-content {
|
|
|
|
|
|
|
|
|
|
| 1 |
/* Widget container styling */
|
| 2 |
.ply-widget-container {
|
| 3 |
position: relative;
|
|
|
|
| 107 |
background-color: #4682B4;
|
| 108 |
border-radius: 10px;
|
| 109 |
}
|
|
|
|
| 110 |
/* Menu (instructions) content styling */
|
| 111 |
.menu-content {
|
| 112 |
display: none;
|
|
|
|
| 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: 12px;
|
| 147 |
+
right: 12px;
|
| 148 |
+
width: 32px;
|
| 149 |
+
height: 32px;
|
| 150 |
+
background: #F2F0EF;
|
| 151 |
+
color: #333;
|
| 152 |
+
border: 1px solid #ccc;
|
| 153 |
+
border-radius: 8px;
|
| 154 |
+
font-size: 17px;
|
| 155 |
+
font-weight: bold;
|
| 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;
|
| 163 |
+
box-sizing: border-box;
|
| 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 |
+
/* --------- TOOLTIP PANEL ----------- */
|
| 173 |
.tooltip-panel {
|
| 174 |
position: absolute;
|
| 175 |
top: 50%;
|
|
|
|
| 206 |
border-radius: 8px;
|
| 207 |
}
|
| 208 |
|
| 209 |
+
/* Ensure content does not go under close button */
|
| 210 |
.tooltip-content {
|
| 211 |
width: 100%;
|
| 212 |
max-width: 100%;
|
|
|
|
| 261 |
box-sizing: border-box;
|
| 262 |
}
|
| 263 |
|
| 264 |
+
/* --- MOBILE adjustments --- */
|
| 265 |
+
@media (max-width: 600px) {
|
| 266 |
+
.menu-content {
|
| 267 |
+
width: 85vw;
|
| 268 |
+
max-height: 90%;
|
| 269 |
+
overflow: scroll !important;
|
| 270 |
+
scrollbar-gutter: stable both-edges;
|
| 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 |
/* --- MOBILE adjustments --- */
|
| 309 |
@media (max-width: 600px) {
|
| 310 |
.menu-content {
|