Spaces:
Running
Running
Komalpreet Kaur commited on
style: establish full fluid mobile responsiveness on iPhone 14 viewports across AuthScreen, App Shell, and 3D Brain overlays
Browse files
frontend/src/App.css
CHANGED
|
@@ -475,6 +475,9 @@
|
|
| 475 |
@media (max-width: 1024px) {
|
| 476 |
.soma-shell {
|
| 477 |
flex-direction: column !important;
|
|
|
|
|
|
|
|
|
|
| 478 |
}
|
| 479 |
|
| 480 |
.soma-sidebar {
|
|
@@ -557,14 +560,18 @@
|
|
| 557 |
|
| 558 |
.soma-main-panel {
|
| 559 |
padding: 12px !important;
|
| 560 |
-
overflow-y:
|
|
|
|
|
|
|
| 561 |
}
|
| 562 |
|
| 563 |
.page-canvas {
|
| 564 |
-
padding:
|
| 565 |
-
border-radius:
|
| 566 |
-
overflow-y:
|
| 567 |
-
|
|
|
|
|
|
|
| 568 |
}
|
| 569 |
|
| 570 |
.page-header {
|
|
@@ -580,20 +587,20 @@
|
|
| 580 |
|
| 581 |
.chat-container[style] {
|
| 582 |
flex: none !important;
|
| 583 |
-
height:
|
| 584 |
-
min-height:
|
| 585 |
}
|
| 586 |
|
| 587 |
.cognitive-container[style] {
|
| 588 |
flex: none !important;
|
| 589 |
-
height:
|
| 590 |
-
min-height:
|
| 591 |
}
|
| 592 |
|
| 593 |
.activity-feed-wrapper[style] {
|
| 594 |
flex: none !important;
|
| 595 |
max-width: 100% !important;
|
| 596 |
-
height:
|
| 597 |
margin: 0 !important;
|
| 598 |
}
|
| 599 |
|
|
@@ -604,7 +611,7 @@
|
|
| 604 |
}
|
| 605 |
|
| 606 |
.status-card[style] {
|
| 607 |
-
height:
|
| 608 |
min-height: 300px !important;
|
| 609 |
}
|
| 610 |
}
|
|
|
|
| 475 |
@media (max-width: 1024px) {
|
| 476 |
.soma-shell {
|
| 477 |
flex-direction: column !important;
|
| 478 |
+
height: auto !important;
|
| 479 |
+
min-height: 100vh !important;
|
| 480 |
+
overflow: auto !important;
|
| 481 |
}
|
| 482 |
|
| 483 |
.soma-sidebar {
|
|
|
|
| 560 |
|
| 561 |
.soma-main-panel {
|
| 562 |
padding: 12px !important;
|
| 563 |
+
overflow-y: visible !important;
|
| 564 |
+
height: auto !important;
|
| 565 |
+
flex: none !important;
|
| 566 |
}
|
| 567 |
|
| 568 |
.page-canvas {
|
| 569 |
+
padding: 16px !important;
|
| 570 |
+
border-radius: 20px !important;
|
| 571 |
+
overflow-y: visible !important;
|
| 572 |
+
height: auto !important;
|
| 573 |
+
flex: none !important;
|
| 574 |
+
min-height: auto !important;
|
| 575 |
}
|
| 576 |
|
| 577 |
.page-header {
|
|
|
|
| 587 |
|
| 588 |
.chat-container[style] {
|
| 589 |
flex: none !important;
|
| 590 |
+
height: 520px !important;
|
| 591 |
+
min-height: auto !important;
|
| 592 |
}
|
| 593 |
|
| 594 |
.cognitive-container[style] {
|
| 595 |
flex: none !important;
|
| 596 |
+
height: 320px !important;
|
| 597 |
+
min-height: auto !important;
|
| 598 |
}
|
| 599 |
|
| 600 |
.activity-feed-wrapper[style] {
|
| 601 |
flex: none !important;
|
| 602 |
max-width: 100% !important;
|
| 603 |
+
height: 350px !important;
|
| 604 |
margin: 0 !important;
|
| 605 |
}
|
| 606 |
|
|
|
|
| 611 |
}
|
| 612 |
|
| 613 |
.status-card[style] {
|
| 614 |
+
height: auto !important;
|
| 615 |
min-height: 300px !important;
|
| 616 |
}
|
| 617 |
}
|
frontend/src/components/AuthScreen.css
CHANGED
|
@@ -353,3 +353,64 @@
|
|
| 353 |
filter: blur(10px);
|
| 354 |
transition: all 0.5s ease-in-out;
|
| 355 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 353 |
filter: blur(10px);
|
| 354 |
transition: all 0.5s ease-in-out;
|
| 355 |
}
|
| 356 |
+
|
| 357 |
+
/* ── Mobile Responsive Overrides for iPhone 14 ── */
|
| 358 |
+
@media (max-width: 480px) {
|
| 359 |
+
.landing {
|
| 360 |
+
align-items: flex-start !important;
|
| 361 |
+
padding: 30px 16px !important;
|
| 362 |
+
overflow-y: auto !important;
|
| 363 |
+
}
|
| 364 |
+
|
| 365 |
+
.splash-content, .name-content {
|
| 366 |
+
margin: 20px auto 60px auto !important;
|
| 367 |
+
padding: 36px 20px !important;
|
| 368 |
+
width: 100% !important;
|
| 369 |
+
max-width: 100% !important;
|
| 370 |
+
border-radius: 24px !important;
|
| 371 |
+
}
|
| 372 |
+
|
| 373 |
+
.hero-orb {
|
| 374 |
+
width: 60px !important;
|
| 375 |
+
height: 60px !important;
|
| 376 |
+
margin-bottom: 24px !important;
|
| 377 |
+
}
|
| 378 |
+
|
| 379 |
+
.hero-title {
|
| 380 |
+
font-size: 2.6rem !important;
|
| 381 |
+
}
|
| 382 |
+
|
| 383 |
+
.hero-tagline {
|
| 384 |
+
font-size: 0.58rem !important;
|
| 385 |
+
letter-spacing: 0.3em !important;
|
| 386 |
+
margin-bottom: 18px !important;
|
| 387 |
+
}
|
| 388 |
+
|
| 389 |
+
.hero-desc {
|
| 390 |
+
font-size: 0.8rem !important;
|
| 391 |
+
margin-bottom: 24px !important;
|
| 392 |
+
line-height: 1.5 !important;
|
| 393 |
+
}
|
| 394 |
+
|
| 395 |
+
.splash-features {
|
| 396 |
+
gap: 8px !important;
|
| 397 |
+
margin-bottom: 28px !important;
|
| 398 |
+
}
|
| 399 |
+
|
| 400 |
+
.splash-feature {
|
| 401 |
+
padding: 4px 10px !important;
|
| 402 |
+
font-size: 0.62rem !important;
|
| 403 |
+
}
|
| 404 |
+
|
| 405 |
+
.enter-btn, .name-submit {
|
| 406 |
+
padding: 10px 24px !important;
|
| 407 |
+
font-size: 0.8rem !important;
|
| 408 |
+
}
|
| 409 |
+
|
| 410 |
+
.landing-footer {
|
| 411 |
+
position: relative !important;
|
| 412 |
+
bottom: auto !important;
|
| 413 |
+
margin: 20px auto 40px auto !important;
|
| 414 |
+
justify-content: center !important;
|
| 415 |
+
}
|
| 416 |
+
}
|
frontend/src/components/CognitiveBrainScene.css
CHANGED
|
@@ -204,3 +204,35 @@
|
|
| 204 |
from { opacity: 0.1; transform: scale(1); }
|
| 205 |
to { opacity: 0.3; transform: scale(1.05); }
|
| 206 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
from { opacity: 0.1; transform: scale(1); }
|
| 205 |
to { opacity: 0.3; transform: scale(1.05); }
|
| 206 |
}
|
| 207 |
+
|
| 208 |
+
/* ── Mobile Responsive Overrides for iPhone 14 ── */
|
| 209 |
+
@media (max-width: 480px) {
|
| 210 |
+
.brain-core {
|
| 211 |
+
width: 240px !important;
|
| 212 |
+
height: 240px !important;
|
| 213 |
+
margin: 0 auto;
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
.signal-node {
|
| 217 |
+
gap: 8px !important;
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
/* Bring offsets inward so they fit cleanly within the 390px iPhone 14 viewport */
|
| 221 |
+
.prefrontal { top: -10px !important; left: -20px !important; }
|
| 222 |
+
.parietal { top: -10px !important; right: -20px !important; }
|
| 223 |
+
.temporal { bottom: 10px !important; left: -20px !important; }
|
| 224 |
+
.thalamus-label { bottom: 10px !important; right: -20px !important; }
|
| 225 |
+
|
| 226 |
+
.signal-copy strong {
|
| 227 |
+
font-size: 0.58rem !important;
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
.signal-copy span {
|
| 231 |
+
font-size: 0.48rem !important;
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
.glow-hub {
|
| 235 |
+
width: 260px !important;
|
| 236 |
+
height: 260px !important;
|
| 237 |
+
}
|
| 238 |
+
}
|