Repository navigation
Expand file tree
/
Copy pathindex.css
More file actions
231 lines (194 loc) · 4.35 KB
/
Copy pathindex.css
File metadata and controls
231 lines (194 loc) · 4.35 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
@import "tailwindcss";
:root {
/* Colores FamilySearch Reales */
--color-primary: #8CB83E;
/* El verde "Leaf" o Tree */
--color-primary-hover: #739634;
--color-secondary: #005994;
/* El azul "Heritage" */
/* Sistema de colores FS */
--color-fs-tree: #8CB83E;
--color-fs-tree-dark: #6ca030;
/* Primary Color Shades */
--color-primary-50: #f4f8eb;
--color-primary-100: #e8f1d8;
--color-primary-600: #739634;
--color-primary-700: #5b7528;
--color-primary-800: #42551d;
--color-fs-blue: #005994;
--color-fs-blue-hover: #004a7c;
--color-fs-text: #333333;
--color-fs-text-secondary: #666666;
--color-fs-border: #cccccc;
--color-fs-bg: #ffffff;
--color-fs-bg-alt: #f4f4f4;
/* Gris claro de fondo común en FS */
/* Variables legacy mapped */
--color-fs-green: var(--color-fs-tree);
--color-fs-green-dark: var(--color-fs-tree-dark);
--shadow-card: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
--shadow-card-hover: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
--shadow-modal: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
--radius-fs: 4px;
/* FS usa bordes menos redondeados generalmente */
}
body {
margin: 0;
background-color: var(--color-fs-bg-alt);
color: var(--color-fs-text);
font-family: "Roboto", system-ui, -apple-system, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Roboto", sans-serif;
color: var(--color-fs-text);
font-weight: 500;
}
h1 {
font-weight: 300;
letter-spacing: -0.5px;
}
button {
font-family: "Roboto", sans-serif;
font-weight: 500;
letter-spacing: 0.2px;
}
input,
select,
textarea {
font-family: "Roboto", sans-serif;
}
/* Inputs estilo Frontier */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
border: 1px solid var(--color-fs-border);
border-radius: 4px;
padding: 10px 12px;
transition: border-color 0.2s, box-shadow 0.2s;
width: 100%;
}
input:focus,
select:focus,
textarea:focus {
border-color: var(--color-fs-blue);
outline: none;
box-shadow: 0 0 0 3px rgba(0, 89, 148, 0.1);
}
/* Botones estilo Frontier */
.btn-primary {
background-color: var(--color-primary);
color: white;
border-radius: 20px;
padding: 10px 24px;
font-weight: 600;
text-transform: uppercase;
font-size: 0.875rem;
letter-spacing: 0.5px;
transition: background-color 0.2s;
border: none;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
}
.btn-primary:hover {
background-color: var(--color-primary-hover);
}
.btn-primary:disabled {
background-color: #ccc;
cursor: not-allowed;
}
.btn-secondary {
background-color: white;
color: var(--color-fs-blue);
border: 1px solid var(--color-fs-blue);
border-radius: 20px;
padding: 10px 24px;
font-weight: 600;
text-transform: uppercase;
font-size: 0.875rem;
letter-spacing: 0.5px;
transition: background-color 0.2s;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
}
.btn-secondary:hover {
background-color: #f0f7fa;
}
/* Animaciones */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in {
animation: fadeIn 0.3s ease-out;
}
.animate-slide-up {
animation: slideUp 0.4s ease-out;
}
/* Mobile keyboard handling - ensure chat stays functional */
@supports (-webkit-touch-callout: none) {
/* iOS specific */
body {
position: fixed;
width: 100%;
height: 100%;
overflow: hidden;
}
#root {
height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
}
/* Android and general mobile optimization */
@media (max-width: 768px) {
/* Prevent zoom on input focus */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
font-size: 16px !important;
/* Prevents zoom on iOS */
}
/* Ensure viewport height is stable */
html {
height: -webkit-fill-available;
}
body {
min-height: 100vh;
min-height: -webkit-fill-available;
}
/* Chat container should fill available space */
.chat-container {
height: 100vh;
height: -webkit-fill-available;
}
}