@jjlmoya/utils-babies 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tool/baby-feeding-calculator/bibliography.astro +8 -4
- package/src/tool/baby-feeding-calculator/component.astro +208 -177
- package/src/tool/baby-feeding-calculator/style.css +317 -229
- package/src/tool/baby-percentile-calculator/bibliography.astro +8 -4
- package/src/tool/baby-percentile-calculator/component.astro +98 -240
- package/src/tool/baby-percentile-calculator/i18n/en.ts +1 -0
- package/src/tool/baby-percentile-calculator/i18n/es.ts +1 -0
- package/src/tool/baby-percentile-calculator/i18n/fr.ts +1 -0
- package/src/tool/baby-percentile-calculator/index.ts +1 -0
- package/src/tool/baby-percentile-calculator/style.css +342 -268
- package/src/tool/baby-size-converter/bibliography.astro +8 -4
- package/src/tool/baby-size-converter/component.astro +221 -212
- package/src/tool/baby-size-converter/style.css +433 -263
- package/src/tool/fertile-days-estimator/bibliography.astro +8 -4
- package/src/tool/fertile-days-estimator/component.astro +202 -200
- package/src/tool/fertile-days-estimator/style.css +408 -270
- package/src/tool/pregnancy-calculator/bibliography.astro +8 -4
- package/src/tool/pregnancy-calculator/component.astro +50 -8
- package/src/tool/pregnancy-calculator/i18n/en.ts +8 -0
- package/src/tool/pregnancy-calculator/i18n/es.ts +8 -0
- package/src/tool/pregnancy-calculator/i18n/fr.ts +8 -0
- package/src/tool/pregnancy-calculator/index.ts +8 -0
- package/src/tool/pregnancy-calculator/style.css +351 -134
- package/src/tool/vaccination-calendar/bibliography.astro +8 -4
- package/src/tool/vaccination-calendar/component.astro +120 -124
- package/src/tool/vaccination-calendar/style.css +296 -209
|
@@ -23,18 +23,23 @@
|
|
|
23
23
|
width: 100%;
|
|
24
24
|
color: var(--pc-text);
|
|
25
25
|
background: var(--pc-bg);
|
|
26
|
-
border-radius:
|
|
26
|
+
border-radius: 32px;
|
|
27
27
|
overflow: hidden;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
box-shadow:
|
|
29
|
+
0 0 0 1px rgba(0, 0, 0, 0.05),
|
|
30
|
+
0 8px 32px rgba(0, 0, 0, 0.07),
|
|
31
|
+
0 32px 64px rgba(0, 0, 0, 0.04);
|
|
32
|
+
transition: box-shadow 0.5s;
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
.pregnancy-calculator::before {
|
|
33
36
|
content: '';
|
|
34
|
-
|
|
35
|
-
|
|
37
|
+
position: absolute;
|
|
38
|
+
inset: 0 0 auto;
|
|
39
|
+
height: 3px;
|
|
36
40
|
background: linear-gradient(90deg, var(--pc-tri-primary), var(--pc-tri-accent));
|
|
37
|
-
|
|
41
|
+
transition: background 0.6s ease;
|
|
42
|
+
z-index: 1;
|
|
38
43
|
}
|
|
39
44
|
|
|
40
45
|
.pregnancy-calculator.pregnancy-calculator-t1 {
|
|
@@ -64,6 +69,13 @@
|
|
|
64
69
|
--pc-tri-badge: #ede9fe;
|
|
65
70
|
}
|
|
66
71
|
|
|
72
|
+
.dark .pregnancy-calculator {
|
|
73
|
+
background: #111827;
|
|
74
|
+
box-shadow:
|
|
75
|
+
0 0 0 1px rgba(255, 255, 255, 0.06),
|
|
76
|
+
0 8px 32px rgba(0, 0, 0, 0.4);
|
|
77
|
+
}
|
|
78
|
+
|
|
67
79
|
.theme-dark .pregnancy-calculator {
|
|
68
80
|
--pc-bg: #111827;
|
|
69
81
|
--pc-bg-muted: #0f1923;
|
|
@@ -84,37 +96,43 @@
|
|
|
84
96
|
display: flex;
|
|
85
97
|
align-items: center;
|
|
86
98
|
justify-content: space-between;
|
|
87
|
-
padding:
|
|
99
|
+
padding: 24px 32px 20px;
|
|
88
100
|
border-bottom: 1px solid var(--pc-border);
|
|
89
|
-
gap:
|
|
101
|
+
gap: 16px;
|
|
90
102
|
flex-wrap: wrap;
|
|
91
103
|
}
|
|
92
104
|
|
|
93
105
|
.pregnancy-calculator-method-group {
|
|
94
106
|
display: flex;
|
|
95
|
-
gap: 0
|
|
96
|
-
background:
|
|
97
|
-
padding:
|
|
98
|
-
border-radius:
|
|
99
|
-
|
|
107
|
+
gap: 0;
|
|
108
|
+
background: #f1f5f9;
|
|
109
|
+
padding: 4px;
|
|
110
|
+
border-radius: 16px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.dark .pregnancy-calculator-method-group {
|
|
114
|
+
background: rgba(255, 255, 255, 0.06);
|
|
100
115
|
}
|
|
101
116
|
|
|
102
117
|
.pregnancy-calculator-method-btn {
|
|
103
|
-
padding:
|
|
104
|
-
border-radius:
|
|
118
|
+
padding: 9px 20px;
|
|
119
|
+
border-radius: 12px;
|
|
105
120
|
border: none;
|
|
106
121
|
background: transparent;
|
|
107
122
|
color: var(--pc-text-muted);
|
|
108
|
-
font-size: 0.
|
|
109
|
-
font-weight:
|
|
123
|
+
font-size: 0.78rem;
|
|
124
|
+
font-weight: 800;
|
|
110
125
|
cursor: pointer;
|
|
111
|
-
transition: background 0.
|
|
126
|
+
transition: background 0.2s, color 0.2s, box-shadow 0.2s;
|
|
127
|
+
text-transform: uppercase;
|
|
128
|
+
letter-spacing: 0.04em;
|
|
129
|
+
white-space: nowrap;
|
|
112
130
|
}
|
|
113
131
|
|
|
114
132
|
.pregnancy-calculator-method-btn-active {
|
|
115
133
|
background: var(--pc-bg);
|
|
116
134
|
color: var(--pc-tri-accent);
|
|
117
|
-
box-shadow: 0
|
|
135
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
|
|
118
136
|
}
|
|
119
137
|
|
|
120
138
|
.pregnancy-calculator-partner-wrap {
|
|
@@ -162,30 +180,53 @@
|
|
|
162
180
|
|
|
163
181
|
.pregnancy-calculator-main {
|
|
164
182
|
display: grid;
|
|
165
|
-
grid-template-columns: 1fr
|
|
183
|
+
grid-template-columns: 300px 1fr 220px;
|
|
166
184
|
min-height: 32rem;
|
|
167
185
|
}
|
|
168
186
|
|
|
169
187
|
.pregnancy-calculator-left {
|
|
170
|
-
padding:
|
|
188
|
+
padding: 28px 24px 36px;
|
|
171
189
|
border-right: 1px solid var(--pc-border);
|
|
172
190
|
display: flex;
|
|
173
191
|
flex-direction: column;
|
|
174
|
-
gap:
|
|
192
|
+
gap: 20px;
|
|
193
|
+
background: #f8fafc;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.dark .pregnancy-calculator-left {
|
|
197
|
+
background: #0f1923;
|
|
198
|
+
border-right-color: rgba(255, 255, 255, 0.04);
|
|
175
199
|
}
|
|
176
200
|
|
|
177
201
|
.pregnancy-calculator-center {
|
|
178
|
-
padding:
|
|
202
|
+
padding: 28px 28px 36px;
|
|
179
203
|
border-right: 1px solid var(--pc-border);
|
|
180
204
|
overflow-y: auto;
|
|
205
|
+
background: #fff;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.dark .pregnancy-calculator-center {
|
|
209
|
+
background: #111827;
|
|
181
210
|
}
|
|
182
211
|
|
|
183
212
|
.pregnancy-calculator-right {
|
|
213
|
+
position: relative;
|
|
214
|
+
overflow: hidden;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.pregnancy-calculator-tl-inner {
|
|
218
|
+
position: absolute;
|
|
219
|
+
inset: 0;
|
|
184
220
|
display: flex;
|
|
185
221
|
flex-direction: column;
|
|
222
|
+
background: var(--pc-bg-muted);
|
|
186
223
|
overflow: hidden;
|
|
187
224
|
}
|
|
188
225
|
|
|
226
|
+
.dark .pregnancy-calculator-tl-inner {
|
|
227
|
+
background: #0f1923;
|
|
228
|
+
}
|
|
229
|
+
|
|
189
230
|
.pregnancy-calculator-dp-wrap {
|
|
190
231
|
display: flex;
|
|
191
232
|
flex-direction: column;
|
|
@@ -203,79 +244,145 @@
|
|
|
203
244
|
.pregnancy-calculator-dp-selects {
|
|
204
245
|
display: flex;
|
|
205
246
|
align-items: center;
|
|
206
|
-
|
|
247
|
+
background: #fff;
|
|
248
|
+
border-radius: 18px;
|
|
249
|
+
padding: 6px 10px;
|
|
250
|
+
gap: 4px;
|
|
251
|
+
box-shadow:
|
|
252
|
+
0 2px 12px rgba(0, 0, 0, 0.06),
|
|
253
|
+
0 0 0 1px rgba(0, 0, 0, 0.04);
|
|
254
|
+
transition: box-shadow 0.2s;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.pregnancy-calculator-dp-selects:focus-within {
|
|
258
|
+
box-shadow:
|
|
259
|
+
0 4px 20px var(--pc-tri-glow),
|
|
260
|
+
0 0 0 2px var(--pc-tri-primary);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.dark .pregnancy-calculator-dp-selects {
|
|
264
|
+
background: #1a2332;
|
|
265
|
+
box-shadow:
|
|
266
|
+
0 2px 12px rgba(0, 0, 0, 0.2),
|
|
267
|
+
0 0 0 1px rgba(255, 255, 255, 0.06);
|
|
207
268
|
}
|
|
208
269
|
|
|
209
270
|
.pregnancy-calculator-dp-select {
|
|
210
271
|
flex: 1;
|
|
211
|
-
padding:
|
|
212
|
-
border
|
|
213
|
-
|
|
214
|
-
background: var(--pc-bg);
|
|
272
|
+
padding: 8px 4px;
|
|
273
|
+
border: none;
|
|
274
|
+
background: transparent;
|
|
215
275
|
color: var(--pc-text);
|
|
216
|
-
font-size: 0.
|
|
276
|
+
font-size: 0.95rem;
|
|
277
|
+
font-weight: 700;
|
|
217
278
|
cursor: pointer;
|
|
218
|
-
|
|
219
|
-
min-width: 0;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.pregnancy-calculator-dp-select:focus {
|
|
279
|
+
appearance: none;
|
|
223
280
|
outline: none;
|
|
224
|
-
|
|
281
|
+
text-align: center;
|
|
282
|
+
min-width: 0;
|
|
225
283
|
}
|
|
226
284
|
|
|
227
285
|
.pregnancy-calculator-dp-sep {
|
|
228
|
-
color:
|
|
229
|
-
font-size:
|
|
286
|
+
color: #cbd5e1;
|
|
287
|
+
font-size: 1rem;
|
|
288
|
+
font-weight: 300;
|
|
230
289
|
flex-shrink: 0;
|
|
290
|
+
padding: 0 2px;
|
|
231
291
|
}
|
|
232
292
|
|
|
233
293
|
.pregnancy-calculator-cs-wrap {
|
|
294
|
+
background: #fff;
|
|
295
|
+
border-radius: 18px;
|
|
296
|
+
padding: 20px;
|
|
297
|
+
box-shadow:
|
|
298
|
+
0 2px 12px rgba(0, 0, 0, 0.06),
|
|
299
|
+
0 0 0 1px rgba(0, 0, 0, 0.04);
|
|
234
300
|
display: flex;
|
|
235
301
|
flex-direction: column;
|
|
236
|
-
gap: 0
|
|
302
|
+
gap: 0;
|
|
303
|
+
transition: opacity 0.3s;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.dark .pregnancy-calculator-cs-wrap {
|
|
307
|
+
background: #1a2332;
|
|
308
|
+
box-shadow:
|
|
309
|
+
0 2px 12px rgba(0, 0, 0, 0.2),
|
|
310
|
+
0 0 0 1px rgba(255, 255, 255, 0.06);
|
|
237
311
|
}
|
|
238
312
|
|
|
239
313
|
.pregnancy-calculator-cs-header {
|
|
240
314
|
display: flex;
|
|
241
|
-
align-items:
|
|
315
|
+
align-items: baseline;
|
|
242
316
|
justify-content: space-between;
|
|
317
|
+
margin-bottom: 16px;
|
|
243
318
|
}
|
|
244
319
|
|
|
245
320
|
.pregnancy-calculator-cs-label {
|
|
246
|
-
font-size: 0.
|
|
247
|
-
font-weight:
|
|
321
|
+
font-size: 0.7rem;
|
|
322
|
+
font-weight: 800;
|
|
248
323
|
color: var(--pc-text-muted);
|
|
249
324
|
text-transform: uppercase;
|
|
250
|
-
letter-spacing: 0.
|
|
325
|
+
letter-spacing: 0.14em;
|
|
251
326
|
}
|
|
252
327
|
|
|
253
328
|
.pregnancy-calculator-cs-value-wrap {
|
|
254
|
-
font-size: 0.875rem;
|
|
255
|
-
font-weight: 700;
|
|
256
|
-
color: var(--pc-tri-accent);
|
|
257
329
|
display: flex;
|
|
258
330
|
align-items: baseline;
|
|
259
|
-
gap:
|
|
331
|
+
gap: 3px;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
#pc-cs-value {
|
|
335
|
+
font-size: 2rem;
|
|
336
|
+
font-weight: 900;
|
|
337
|
+
letter-spacing: -0.04em;
|
|
338
|
+
color: var(--pc-tri-accent);
|
|
339
|
+
transition: color 0.5s;
|
|
260
340
|
}
|
|
261
341
|
|
|
262
342
|
.pregnancy-calculator-cs-unit {
|
|
263
|
-
font-size: 0.
|
|
264
|
-
font-weight:
|
|
343
|
+
font-size: 0.8rem;
|
|
344
|
+
font-weight: 600;
|
|
265
345
|
color: var(--pc-text-dim);
|
|
266
346
|
}
|
|
267
347
|
|
|
268
348
|
.pregnancy-calculator-cs-slider {
|
|
269
349
|
width: 100%;
|
|
270
|
-
|
|
350
|
+
height: 4px;
|
|
351
|
+
border-radius: 2px;
|
|
352
|
+
background: linear-gradient(
|
|
353
|
+
90deg,
|
|
354
|
+
var(--pc-tri-primary) 0%,
|
|
355
|
+
#e2e8f0 0%
|
|
356
|
+
);
|
|
357
|
+
appearance: none;
|
|
271
358
|
cursor: pointer;
|
|
359
|
+
outline: none;
|
|
360
|
+
transition: background 0.4s;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.pregnancy-calculator-cs-slider::-webkit-slider-thumb {
|
|
364
|
+
appearance: none;
|
|
365
|
+
width: 20px;
|
|
366
|
+
height: 20px;
|
|
367
|
+
border-radius: 50%;
|
|
368
|
+
background: #fff;
|
|
369
|
+
border: 3px solid var(--pc-tri-accent);
|
|
370
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
|
|
371
|
+
cursor: pointer;
|
|
372
|
+
transition: transform 0.2s, border-color 0.5s;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.pregnancy-calculator-cs-slider::-webkit-slider-thumb:hover {
|
|
376
|
+
transform: scale(1.2);
|
|
272
377
|
}
|
|
273
378
|
|
|
274
379
|
.pregnancy-calculator-cs-extremes {
|
|
275
380
|
display: flex;
|
|
276
381
|
justify-content: space-between;
|
|
277
|
-
|
|
278
|
-
|
|
382
|
+
margin-top: 8px;
|
|
383
|
+
font-size: 0.65rem;
|
|
384
|
+
font-weight: 700;
|
|
385
|
+
color: #cbd5e1;
|
|
279
386
|
}
|
|
280
387
|
|
|
281
388
|
.pregnancy-calculator-sd-wrap {
|
|
@@ -291,28 +398,33 @@
|
|
|
291
398
|
|
|
292
399
|
.pregnancy-calculator-stat-chip {
|
|
293
400
|
flex: 1;
|
|
294
|
-
background:
|
|
295
|
-
border:
|
|
296
|
-
|
|
297
|
-
padding: 0.625rem 0.75rem;
|
|
401
|
+
background: #f8fafc;
|
|
402
|
+
border-radius: 16px;
|
|
403
|
+
padding: 16px 18px;
|
|
298
404
|
display: flex;
|
|
299
405
|
flex-direction: column;
|
|
300
|
-
gap:
|
|
406
|
+
gap: 4px;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.dark .pregnancy-calculator-stat-chip {
|
|
410
|
+
background: #1e2936;
|
|
301
411
|
}
|
|
302
412
|
|
|
303
413
|
.pregnancy-calculator-stat-key {
|
|
304
|
-
font-size: 0.
|
|
305
|
-
font-weight:
|
|
414
|
+
font-size: 0.65rem;
|
|
415
|
+
font-weight: 800;
|
|
306
416
|
text-transform: uppercase;
|
|
307
|
-
letter-spacing: 0.
|
|
308
|
-
color:
|
|
417
|
+
letter-spacing: 0.12em;
|
|
418
|
+
color: #94a3b8;
|
|
309
419
|
}
|
|
310
420
|
|
|
311
421
|
.pregnancy-calculator-stat-value {
|
|
312
|
-
font-size: 1.
|
|
313
|
-
font-weight:
|
|
422
|
+
font-size: 1.5rem;
|
|
423
|
+
font-weight: 900;
|
|
314
424
|
color: var(--pc-text);
|
|
315
425
|
line-height: 1;
|
|
426
|
+
letter-spacing: -0.02em;
|
|
427
|
+
transition: color 0.5s;
|
|
316
428
|
}
|
|
317
429
|
|
|
318
430
|
.pregnancy-calculator-accent {
|
|
@@ -320,55 +432,78 @@
|
|
|
320
432
|
}
|
|
321
433
|
|
|
322
434
|
.pregnancy-calculator-edd-box {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
435
|
+
border-radius: 18px;
|
|
436
|
+
padding: 20px;
|
|
437
|
+
background: var(--pc-tri-bg);
|
|
438
|
+
text-align: center;
|
|
327
439
|
display: flex;
|
|
328
440
|
flex-direction: column;
|
|
329
|
-
gap: 0
|
|
441
|
+
gap: 0;
|
|
442
|
+
transition: background 0.5s;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.dark .pregnancy-calculator-edd-box {
|
|
446
|
+
background: rgba(255, 255, 255, 0.04);
|
|
330
447
|
}
|
|
331
448
|
|
|
332
449
|
.pregnancy-calculator-edd-label {
|
|
333
|
-
font-size: 0.
|
|
334
|
-
font-weight:
|
|
450
|
+
font-size: 0.65rem;
|
|
451
|
+
font-weight: 800;
|
|
335
452
|
text-transform: uppercase;
|
|
336
|
-
letter-spacing: 0.
|
|
337
|
-
color:
|
|
453
|
+
letter-spacing: 0.14em;
|
|
454
|
+
color: #94a3b8;
|
|
455
|
+
margin-bottom: 6px;
|
|
338
456
|
}
|
|
339
457
|
|
|
340
458
|
.pregnancy-calculator-edd-date {
|
|
341
|
-
font-size:
|
|
342
|
-
font-weight:
|
|
343
|
-
color: var(--pc-text);
|
|
459
|
+
font-size: 1.15rem;
|
|
460
|
+
font-weight: 900;
|
|
461
|
+
color: var(--pc-tri-text);
|
|
462
|
+
letter-spacing: -0.02em;
|
|
463
|
+
transition: color 0.5s;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.dark .pregnancy-calculator-edd-date {
|
|
467
|
+
color: var(--pc-tri-primary);
|
|
344
468
|
}
|
|
345
469
|
|
|
346
470
|
.pregnancy-calculator-edd-note {
|
|
347
|
-
font-size: 0.
|
|
348
|
-
color:
|
|
349
|
-
|
|
471
|
+
font-size: 0.72rem;
|
|
472
|
+
color: #94a3b8;
|
|
473
|
+
margin-top: 5px;
|
|
474
|
+
font-style: italic;
|
|
350
475
|
}
|
|
351
476
|
|
|
352
477
|
.pregnancy-calculator-btn-cal {
|
|
353
478
|
width: 100%;
|
|
354
|
-
padding:
|
|
355
|
-
border-radius:
|
|
356
|
-
border:
|
|
357
|
-
background: var(--pc-tri-
|
|
358
|
-
color:
|
|
359
|
-
font-size: 0.
|
|
360
|
-
font-weight:
|
|
479
|
+
padding: 15px;
|
|
480
|
+
border-radius: 16px;
|
|
481
|
+
border: none;
|
|
482
|
+
background: var(--pc-tri-accent);
|
|
483
|
+
color: #fff;
|
|
484
|
+
font-size: 0.82rem;
|
|
485
|
+
font-weight: 800;
|
|
361
486
|
cursor: pointer;
|
|
362
|
-
|
|
487
|
+
letter-spacing: 0.06em;
|
|
488
|
+
text-transform: uppercase;
|
|
489
|
+
transition: all 0.25s;
|
|
490
|
+
box-shadow: 0 4px 16px var(--pc-tri-glow);
|
|
363
491
|
}
|
|
364
492
|
|
|
365
493
|
.pregnancy-calculator-btn-cal:hover:not(:disabled) {
|
|
366
|
-
|
|
494
|
+
transform: translateY(-2px);
|
|
495
|
+
box-shadow: 0 8px 24px var(--pc-tri-glow);
|
|
367
496
|
}
|
|
368
497
|
|
|
369
498
|
.pregnancy-calculator-btn-cal:disabled {
|
|
370
|
-
|
|
371
|
-
|
|
499
|
+
background: #e2e8f0;
|
|
500
|
+
color: #94a3b8;
|
|
501
|
+
box-shadow: none;
|
|
502
|
+
cursor: default;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.dark .pregnancy-calculator-btn-cal:disabled {
|
|
506
|
+
background: #1e2936;
|
|
372
507
|
}
|
|
373
508
|
|
|
374
509
|
.pregnancy-calculator-mp-empty {
|
|
@@ -475,29 +610,37 @@
|
|
|
475
610
|
|
|
476
611
|
.pregnancy-calculator-size-card {
|
|
477
612
|
display: flex;
|
|
478
|
-
align-items:
|
|
613
|
+
align-items: baseline;
|
|
479
614
|
justify-content: space-between;
|
|
480
|
-
background:
|
|
481
|
-
border:
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
615
|
+
background: #f8fafc;
|
|
616
|
+
border-radius: 20px;
|
|
617
|
+
padding: 24px 28px;
|
|
618
|
+
gap: 12px;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.dark .pregnancy-calculator-size-card {
|
|
622
|
+
background: #1a2332;
|
|
485
623
|
}
|
|
486
624
|
|
|
487
625
|
.pregnancy-calculator-size-name {
|
|
488
|
-
font-size:
|
|
489
|
-
font-weight:
|
|
490
|
-
|
|
626
|
+
font-size: 1.6rem;
|
|
627
|
+
font-weight: 300;
|
|
628
|
+
font-style: italic;
|
|
629
|
+
color: var(--pc-text);
|
|
630
|
+
letter-spacing: -0.01em;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.dark .pregnancy-calculator-size-name {
|
|
634
|
+
color: #f1f5f9;
|
|
491
635
|
}
|
|
492
636
|
|
|
493
637
|
.pregnancy-calculator-size-measure {
|
|
494
|
-
font-size: 0.
|
|
495
|
-
font-weight:
|
|
496
|
-
color:
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
padding: 0.125rem 0.5rem;
|
|
638
|
+
font-size: 0.8rem;
|
|
639
|
+
font-weight: 700;
|
|
640
|
+
color: #94a3b8;
|
|
641
|
+
text-transform: uppercase;
|
|
642
|
+
letter-spacing: 0.08em;
|
|
643
|
+
white-space: nowrap;
|
|
501
644
|
}
|
|
502
645
|
|
|
503
646
|
.pregnancy-calculator-info-stack {
|
|
@@ -507,35 +650,48 @@
|
|
|
507
650
|
}
|
|
508
651
|
|
|
509
652
|
.pregnancy-calculator-info-block {
|
|
653
|
+
background: #fff;
|
|
654
|
+
border-radius: 16px;
|
|
655
|
+
padding: 18px 20px;
|
|
656
|
+
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
|
|
510
657
|
display: flex;
|
|
511
658
|
flex-direction: column;
|
|
512
|
-
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.dark .pregnancy-calculator-info-block {
|
|
662
|
+
background: #1a2332;
|
|
663
|
+
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
|
|
513
664
|
}
|
|
514
665
|
|
|
515
666
|
.pregnancy-calculator-info-key {
|
|
516
|
-
font-size: 0.
|
|
517
|
-
font-weight:
|
|
667
|
+
font-size: 0.65rem;
|
|
668
|
+
font-weight: 900;
|
|
518
669
|
text-transform: uppercase;
|
|
519
|
-
letter-spacing: 0.
|
|
670
|
+
letter-spacing: 0.14em;
|
|
520
671
|
color: var(--pc-tri-accent);
|
|
672
|
+
margin-bottom: 7px;
|
|
673
|
+
transition: color 0.5s;
|
|
521
674
|
}
|
|
522
675
|
|
|
523
676
|
.pregnancy-calculator-info-text {
|
|
524
|
-
font-size: 0.
|
|
677
|
+
font-size: 0.92rem;
|
|
525
678
|
color: var(--pc-text-muted);
|
|
526
|
-
line-height: 1.
|
|
679
|
+
line-height: 1.75;
|
|
527
680
|
margin: 0;
|
|
681
|
+
font-weight: 500;
|
|
528
682
|
}
|
|
529
683
|
|
|
530
684
|
.pregnancy-calculator-wonder-line {
|
|
531
|
-
font-size: 0.
|
|
685
|
+
font-size: 0.85rem;
|
|
532
686
|
font-style: italic;
|
|
533
|
-
|
|
534
|
-
|
|
687
|
+
font-weight: 600;
|
|
688
|
+
color: var(--pc-tri-text);
|
|
689
|
+
padding: 12px 16px;
|
|
535
690
|
border-left: 3px solid var(--pc-tri-primary);
|
|
536
691
|
background: var(--pc-tri-bg);
|
|
537
|
-
border-radius: 0
|
|
538
|
-
line-height: 1.
|
|
692
|
+
border-radius: 0 12px 12px 0;
|
|
693
|
+
line-height: 1.6;
|
|
694
|
+
transition: background 0.5s, color 0.5s, border-color 0.5s;
|
|
539
695
|
}
|
|
540
696
|
|
|
541
697
|
.pregnancy-calculator-semaphore {
|
|
@@ -595,42 +751,98 @@
|
|
|
595
751
|
}
|
|
596
752
|
|
|
597
753
|
.pregnancy-calculator-sema-safe .pregnancy-calculator-sema-list li::before {
|
|
598
|
-
content: '';
|
|
754
|
+
content: 'v';
|
|
599
755
|
position: absolute;
|
|
600
756
|
left: 0;
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
border-radius: 50%;
|
|
605
|
-
background: var(--pc-safe-title);
|
|
757
|
+
color: #22c55e;
|
|
758
|
+
font-weight: 900;
|
|
759
|
+
font-size: 0.7rem;
|
|
606
760
|
}
|
|
607
761
|
|
|
608
762
|
.pregnancy-calculator-sema-alert .pregnancy-calculator-sema-list li::before {
|
|
609
|
-
content: '';
|
|
763
|
+
content: '!';
|
|
610
764
|
position: absolute;
|
|
611
765
|
left: 0;
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
766
|
+
color: #f97316;
|
|
767
|
+
font-weight: 900;
|
|
768
|
+
font-size: 0.7rem;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.pregnancy-calculator-mp-egg {
|
|
772
|
+
display: flex;
|
|
773
|
+
flex-direction: column;
|
|
774
|
+
align-items: center;
|
|
775
|
+
justify-content: center;
|
|
776
|
+
height: 100%;
|
|
777
|
+
min-height: 18rem;
|
|
778
|
+
gap: 14px;
|
|
779
|
+
padding: 48px 32px;
|
|
780
|
+
text-align: center;
|
|
781
|
+
animation: pc-fade-in 0.4s ease-out;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
.pregnancy-calculator-egg-dot {
|
|
785
|
+
width: 48px;
|
|
786
|
+
height: 48px;
|
|
615
787
|
border-radius: 50%;
|
|
616
|
-
|
|
788
|
+
border: 2px dashed #f87171;
|
|
789
|
+
background: #fef2f2;
|
|
790
|
+
animation: pc-egg-spin 6s linear infinite;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.pregnancy-calculator-egg-dot[data-reason='too-old'] {
|
|
794
|
+
border-color: #fb923c;
|
|
795
|
+
background: #fff7ed;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
@keyframes pc-egg-spin {
|
|
799
|
+
from { transform: rotate(0deg); }
|
|
800
|
+
to { transform: rotate(360deg); }
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.pregnancy-calculator-egg-title {
|
|
804
|
+
font-size: 1.2rem;
|
|
805
|
+
font-weight: 800;
|
|
806
|
+
color: var(--pc-text);
|
|
807
|
+
letter-spacing: -0.02em;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.pregnancy-calculator-egg-body {
|
|
811
|
+
font-size: 0.92rem;
|
|
812
|
+
color: var(--pc-text-muted);
|
|
813
|
+
max-width: 300px;
|
|
814
|
+
line-height: 1.7;
|
|
815
|
+
font-style: italic;
|
|
816
|
+
margin: 0;
|
|
617
817
|
}
|
|
618
818
|
|
|
619
819
|
.pregnancy-calculator-tl-header {
|
|
620
|
-
padding:
|
|
621
|
-
font-size: 0.
|
|
622
|
-
font-weight:
|
|
820
|
+
padding: 18px 18px 12px;
|
|
821
|
+
font-size: 0.65rem;
|
|
822
|
+
font-weight: 900;
|
|
623
823
|
text-transform: uppercase;
|
|
624
|
-
letter-spacing: 0.
|
|
625
|
-
color:
|
|
824
|
+
letter-spacing: 0.15em;
|
|
825
|
+
color: #94a3b8;
|
|
626
826
|
border-bottom: 1px solid var(--pc-border);
|
|
627
|
-
|
|
827
|
+
flex-shrink: 0;
|
|
628
828
|
}
|
|
629
829
|
|
|
630
830
|
.pregnancy-calculator-tl-scroll {
|
|
631
831
|
flex: 1;
|
|
832
|
+
min-height: 0;
|
|
632
833
|
overflow-y: auto;
|
|
633
|
-
padding:
|
|
834
|
+
padding: 12px 14px 20px;
|
|
835
|
+
scrollbar-width: thin;
|
|
836
|
+
scrollbar-color: #e2e8f0 transparent;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.pregnancy-calculator-tl-scroll::-webkit-scrollbar {
|
|
840
|
+
width: 3px;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.pregnancy-calculator-tl-scroll::-webkit-scrollbar-thumb {
|
|
844
|
+
background: #e2e8f0;
|
|
845
|
+
border-radius: 2px;
|
|
634
846
|
}
|
|
635
847
|
|
|
636
848
|
.pregnancy-calculator-tl-row {
|
|
@@ -736,7 +948,12 @@
|
|
|
736
948
|
|
|
737
949
|
.pregnancy-calculator-right {
|
|
738
950
|
border-top: 1px solid var(--pc-border);
|
|
739
|
-
|
|
951
|
+
height: 16rem;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.pregnancy-calculator-tl-inner {
|
|
955
|
+
position: static;
|
|
956
|
+
height: 100%;
|
|
740
957
|
}
|
|
741
958
|
|
|
742
959
|
.pregnancy-calculator-tl-scroll {
|