Spaces:
Sleeping
Sleeping
findEthics commited on
Commit ·
c9b3ee8
1
Parent(s): b4487f6
Update anonymous mode message for mobile to minimal design
Browse files- Hide full description and info icon on mobile devices
- Show only "Login for higher limits" text and message counter
- Responsive design for small mobile devices (480px and below)
- static/css/style.css +31 -0
static/css/style.css
CHANGED
|
@@ -371,14 +371,35 @@ body {
|
|
| 371 |
.anonymous-info-banner {
|
| 372 |
font-size: 0.85rem;
|
| 373 |
padding: 0.5rem 0.75rem;
|
|
|
|
|
|
|
| 374 |
}
|
| 375 |
|
|
|
|
|
|
|
| 376 |
.anonymous-info-banner .info-text {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 377 |
font-size: 0.85rem;
|
|
|
|
|
|
|
| 378 |
}
|
| 379 |
|
| 380 |
.anonymous-info-banner .message-counter {
|
| 381 |
font-size: 0.8rem;
|
|
|
|
| 382 |
}
|
| 383 |
}
|
| 384 |
|
|
@@ -582,6 +603,16 @@ body {
|
|
| 582 |
content: "→";
|
| 583 |
font-size: 1.25rem;
|
| 584 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 585 |
}
|
| 586 |
|
| 587 |
/* Tablet styles */
|
|
|
|
| 371 |
.anonymous-info-banner {
|
| 372 |
font-size: 0.85rem;
|
| 373 |
padding: 0.5rem 0.75rem;
|
| 374 |
+
flex-direction: column;
|
| 375 |
+
gap: 0.25rem;
|
| 376 |
}
|
| 377 |
|
| 378 |
+
/* Hide full description and icon on mobile */
|
| 379 |
+
.anonymous-info-banner .info-icon,
|
| 380 |
.anonymous-info-banner .info-text {
|
| 381 |
+
display: none;
|
| 382 |
+
}
|
| 383 |
+
|
| 384 |
+
/* Show minimal content on mobile */
|
| 385 |
+
.anonymous-info-banner .info-content {
|
| 386 |
+
flex-direction: row;
|
| 387 |
+
align-items: center;
|
| 388 |
+
justify-content: space-between;
|
| 389 |
+
gap: 0.5rem;
|
| 390 |
+
}
|
| 391 |
+
|
| 392 |
+
/* Add minimal login text for mobile */
|
| 393 |
+
.anonymous-info-banner .info-content::before {
|
| 394 |
+
content: "Login for higher limits";
|
| 395 |
font-size: 0.85rem;
|
| 396 |
+
color: rgb(100, 100, 100);
|
| 397 |
+
flex: 1;
|
| 398 |
}
|
| 399 |
|
| 400 |
.anonymous-info-banner .message-counter {
|
| 401 |
font-size: 0.8rem;
|
| 402 |
+
flex-shrink: 0;
|
| 403 |
}
|
| 404 |
}
|
| 405 |
|
|
|
|
| 603 |
content: "→";
|
| 604 |
font-size: 1.25rem;
|
| 605 |
}
|
| 606 |
+
|
| 607 |
+
/* Anonymous banner for very small mobile devices */
|
| 608 |
+
.anonymous-info-banner .info-content::before {
|
| 609 |
+
font-size: 0.8rem;
|
| 610 |
+
}
|
| 611 |
+
|
| 612 |
+
.anonymous-info-banner .message-counter {
|
| 613 |
+
font-size: 0.75rem;
|
| 614 |
+
padding: 0.2rem 0.4rem;
|
| 615 |
+
}
|
| 616 |
}
|
| 617 |
|
| 618 |
/* Tablet styles */
|