Spaces:
Running
Running
Update style/style_template.css
Browse files- style/style_template.css +32 -0
style/style_template.css
CHANGED
|
@@ -136,3 +136,35 @@
|
|
| 136 |
display: inline-block;
|
| 137 |
transform: translateY(-3px);
|
| 138 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
display: inline-block;
|
| 137 |
transform: translateY(-3px);
|
| 138 |
}
|
| 139 |
+
|
| 140 |
+
/* --- Mobile adjustments: when the widget container has the "mobile" class --- */
|
| 141 |
+
.ply-widget-container.mobile .widget-button {
|
| 142 |
+
width: 30px; /* 45px * 2/3 */
|
| 143 |
+
height: 30px; /* 45px * 2/3 */
|
| 144 |
+
font-size: 10px; /* 14px * approx 0.67 */
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
.ply-widget-container.mobile .help-toggle {
|
| 148 |
+
font-size: 15px; /* 22px * approx 0.67 */
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
/* Adjust button positions for mobile */
|
| 152 |
+
.ply-widget-container.mobile .close-btn {
|
| 153 |
+
top: 11px; /* 17px * approx 0.67 */
|
| 154 |
+
left: 10px; /* 15px * approx 0.67 */
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
.ply-widget-container.mobile .fullscreen-toggle {
|
| 158 |
+
top: 11px;
|
| 159 |
+
right: 10px;
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
.ply-widget-container.mobile .help-toggle {
|
| 163 |
+
top: 11px;
|
| 164 |
+
right: 47px; /* 70px * approx 0.67 */
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
.ply-widget-container.mobile .reset-camera-btn {
|
| 168 |
+
top: 11px;
|
| 169 |
+
right: 82px; /* 123px * approx 0.67 */
|
| 170 |
+
}
|