Spaces:
Running
Running
Update style/galerie_double_v/style.css
Browse files- style/galerie_double_v/style.css +42 -15
style/galerie_double_v/style.css
CHANGED
|
@@ -123,14 +123,29 @@
|
|
| 123 |
font-size: 22px;
|
| 124 |
}
|
| 125 |
|
| 126 |
-
|
|
|
|
| 127 |
top: 17px;
|
| 128 |
-
right:
|
|
|
|
|
|
|
|
|
|
| 129 |
}
|
| 130 |
|
| 131 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
top: 17px;
|
| 133 |
-
right:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 134 |
}
|
| 135 |
|
| 136 |
/* Adjust the reset icon position */
|
|
@@ -141,19 +156,19 @@
|
|
| 141 |
|
| 142 |
/* --- Mobile adjustments: when the widget container has the "mobile" class --- */
|
| 143 |
.ply-widget-container.mobile .widget-button {
|
| 144 |
-
width: 30px; /* 45px
|
| 145 |
-
height: 30px;
|
| 146 |
-
font-size: 10px;
|
| 147 |
}
|
| 148 |
|
| 149 |
.ply-widget-container.mobile .help-toggle {
|
| 150 |
-
font-size: 15px; /*
|
| 151 |
}
|
| 152 |
|
| 153 |
/* Adjust button positions for mobile */
|
| 154 |
.ply-widget-container.mobile .close-btn {
|
| 155 |
-
top: 11px; /* 17px
|
| 156 |
-
left: 10px; /* 15px
|
| 157 |
}
|
| 158 |
|
| 159 |
.ply-widget-container.mobile .fullscreen-toggle {
|
|
@@ -163,15 +178,27 @@
|
|
| 163 |
|
| 164 |
.ply-widget-container.mobile .help-toggle {
|
| 165 |
top: 11px;
|
| 166 |
-
right: 47px;
|
| 167 |
}
|
| 168 |
|
| 169 |
-
|
|
|
|
| 170 |
top: 11px;
|
| 171 |
-
right:
|
| 172 |
}
|
| 173 |
|
| 174 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 175 |
top: 11px;
|
| 176 |
-
right:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 177 |
}
|
|
|
|
| 123 |
font-size: 22px;
|
| 124 |
}
|
| 125 |
|
| 126 |
+
/* Reset camera button repositioned */
|
| 127 |
+
.reset-camera-btn {
|
| 128 |
top: 17px;
|
| 129 |
+
right: 120px;
|
| 130 |
+
font-size: 22px;
|
| 131 |
+
line-height: normal;
|
| 132 |
+
padding: 0;
|
| 133 |
}
|
| 134 |
|
| 135 |
+
/* New toggle-quality button:
|
| 136 |
+
- Placed to the left of the reset camera button.
|
| 137 |
+
- Longer horizontally to fit the text.
|
| 138 |
+
- Maintains the same height and uses horizontal padding for extra space.
|
| 139 |
+
*/
|
| 140 |
+
.toggle-quality-btn {
|
| 141 |
top: 17px;
|
| 142 |
+
right: 170px;
|
| 143 |
+
min-width: 120px; /* Ensures the text fits */
|
| 144 |
+
height: 45px;
|
| 145 |
+
padding: 0 10px;
|
| 146 |
+
border-radius: 22.5px; /* Half the height for a pill shape */
|
| 147 |
+
text-align: center;
|
| 148 |
+
white-space: nowrap;
|
| 149 |
}
|
| 150 |
|
| 151 |
/* Adjust the reset icon position */
|
|
|
|
| 156 |
|
| 157 |
/* --- Mobile adjustments: when the widget container has the "mobile" class --- */
|
| 158 |
.ply-widget-container.mobile .widget-button {
|
| 159 |
+
width: 30px; /* 45px scaled down */
|
| 160 |
+
height: 30px;
|
| 161 |
+
font-size: 10px;
|
| 162 |
}
|
| 163 |
|
| 164 |
.ply-widget-container.mobile .help-toggle {
|
| 165 |
+
font-size: 15px; /* Scaled down from 22px */
|
| 166 |
}
|
| 167 |
|
| 168 |
/* Adjust button positions for mobile */
|
| 169 |
.ply-widget-container.mobile .close-btn {
|
| 170 |
+
top: 11px; /* 17px scaled down */
|
| 171 |
+
left: 10px; /* 15px scaled down */
|
| 172 |
}
|
| 173 |
|
| 174 |
.ply-widget-container.mobile .fullscreen-toggle {
|
|
|
|
| 178 |
|
| 179 |
.ply-widget-container.mobile .help-toggle {
|
| 180 |
top: 11px;
|
| 181 |
+
right: 47px;
|
| 182 |
}
|
| 183 |
|
| 184 |
+
/* Mobile reset camera button remains at right:82px */
|
| 185 |
+
.ply-widget-container.mobile .reset-camera-btn {
|
| 186 |
top: 11px;
|
| 187 |
+
right: 82px;
|
| 188 |
}
|
| 189 |
|
| 190 |
+
/* Mobile toggle-quality button:
|
| 191 |
+
- Placed to the left of the reset camera button.
|
| 192 |
+
- Has a longer (wider) layout to accommodate text.
|
| 193 |
+
*/
|
| 194 |
+
.ply-widget-container.mobile .toggle-quality-btn {
|
| 195 |
top: 11px;
|
| 196 |
+
right: 110px;
|
| 197 |
+
min-width: 80px;
|
| 198 |
+
height: 30px;
|
| 199 |
+
padding: 0 5px;
|
| 200 |
+
border-radius: 15px;
|
| 201 |
+
text-align: center;
|
| 202 |
+
white-space: nowrap;
|
| 203 |
+
font-size: 10px;
|
| 204 |
}
|