Repository navigation
Expand file tree
/
Copy pathindex.css
More file actions
122 lines (102 loc) · 2.73 KB
/
Copy pathindex.css
File metadata and controls
122 lines (102 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/* Optional global styles (Tailwind is loaded via CDN in index.html). */
html,
body,
#root {
height: 100%;
}
/* Better font rendering */
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ================================================================
MOBILE RESPONSIVE STYLES
================================================================ */
/* Safe area for bottom nav (notched phones) */
.safe-area-bottom {
padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* Slide-up animation for mobile drawers */
.mobile-slide-up {
animation: slideUp 0.3s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}
@keyframes slideUp {
from {
transform: translateY(100%);
opacity: 0.8;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/* Slide-down animation for mobile menu */
.mobile-slide-down {
animation: slideDown 0.25s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}
@keyframes slideDown {
from {
transform: translateY(-10px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/* Bottom nav styling */
.mobile-bottom-nav {
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
background-color: rgba(2, 6, 23, 0.92);
}
/* ================================================================
MOBILE TOUCH TARGETS
================================================================ */
@media (max-width: 767px) {
/* Larger tap targets for buttons */
button {
min-height: 44px;
}
/* Input fields */
input,
textarea,
select {
min-height: 48px;
font-size: 16px; /* prevents iOS zoom on focus */
}
/* Ensure chat input area is accessible above bottom nav */
.chat-input-mobile {
padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}
/* Independent scrolling for panels */
.mobile-scroll-independent {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
}
/* Hide desktop-only scrollbars on mobile */
.custom-scrollbar::-webkit-scrollbar {
width: 3px;
}
/* Push floating voice panel above bottom nav */
.mobile-voice-panel {
bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 8px) !important;
right: 8px !important;
left: 8px !important;
width: auto !important;
}
/* Push subtitles bar above bottom nav */
.mobile-subtitles-bar {
bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
}
}
/* ================================================================
TABLET ADJUSTMENTS (768 – 1024)
================================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
/* Slightly narrower right panel on tablet */
.tablet-right-panel {
width: 320px;
}
}