Spaces:
Running
Running
Upload big_sale.css
Browse files- big_sale.css +8 -7
big_sale.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/* BIG SALE Floating Promotion CSS v1.
|
| 2 |
/* Floating button — bottom-right, offset from V.AISTUDIO button */
|
| 3 |
#big-sale-floating {
|
| 4 |
position: fixed;
|
|
@@ -295,22 +295,23 @@
|
|
| 295 |
box-shadow: 0 4px 12px rgba(0, 63, 98, 0.3);
|
| 296 |
}
|
| 297 |
|
| 298 |
-
/* Responsive
|
|
|
|
| 299 |
@media (max-width: 768px) {
|
| 300 |
#big-sale-floating {
|
| 301 |
-
bottom: 16px;
|
| 302 |
right: 16px;
|
| 303 |
width: 170px;
|
| 304 |
height: 50px;
|
| 305 |
}
|
| 306 |
-
|
| 307 |
#big-sale-floating.open {
|
| 308 |
-
bottom: calc(420px +
|
| 309 |
}
|
| 310 |
-
|
| 311 |
#big-sale-panel,
|
| 312 |
#big-sale-panel.open {
|
| 313 |
-
bottom: calc(420px +
|
| 314 |
right: 16px;
|
| 315 |
width: calc(100vw - 32px);
|
| 316 |
max-width: 320px;
|
|
|
|
| 1 |
+
/* BIG SALE Floating Promotion CSS v1.1 — mobile: pill stacks ABOVE V.AISTUDIO button */
|
| 2 |
/* Floating button — bottom-right, offset from V.AISTUDIO button */
|
| 3 |
#big-sale-floating {
|
| 4 |
position: fixed;
|
|
|
|
| 295 |
box-shadow: 0 4px 12px rgba(0, 63, 98, 0.3);
|
| 296 |
}
|
| 297 |
|
| 298 |
+
/* Responsive — mobile: the 170px pill would cover the 50px V.AISTUDIO button if
|
| 299 |
+
both sit at bottom:16px/right:16px. Stack the pill ABOVE it instead. */
|
| 300 |
@media (max-width: 768px) {
|
| 301 |
#big-sale-floating {
|
| 302 |
+
bottom: calc(16px + 50px + 10px); /* 76px — just above V.AISTUDIO button */
|
| 303 |
right: 16px;
|
| 304 |
width: 170px;
|
| 305 |
height: 50px;
|
| 306 |
}
|
| 307 |
+
|
| 308 |
#big-sale-floating.open {
|
| 309 |
+
bottom: calc(420px + 76px + 8px);
|
| 310 |
}
|
| 311 |
+
|
| 312 |
#big-sale-panel,
|
| 313 |
#big-sale-panel.open {
|
| 314 |
+
bottom: calc(420px + 76px + 8px);
|
| 315 |
right: 16px;
|
| 316 |
width: calc(100vw - 32px);
|
| 317 |
max-width: 320px;
|