@jjlmoya/utils-babies 1.4.0 → 1.6.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.
@@ -1,467 +0,0 @@
1
- /* PRINCIPAL CONTAINER */
2
- .bpc-card {
3
- background: #fff;
4
- border: 1px solid #e2e8f0;
5
- border-radius: 32px;
6
- overflow: hidden;
7
- display: flex;
8
- flex-direction: column;
9
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
10
- transition: all 0.3s ease;
11
- border-top: 8px solid #0ea5e9;
12
- }
13
-
14
- .bpc-card:not(.bpc-boy) {
15
- border-top-color: #0d9488;
16
- }
17
-
18
- .dark .bpc-card {
19
- background: #0f172a;
20
- border-color: #1e293b;
21
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
22
- }
23
-
24
- /* GRID */
25
- .bpc-main {
26
- display: grid;
27
- grid-template-columns: 1fr 1.2fr;
28
- }
29
-
30
- .bpc-left {
31
- background: #f8fafc;
32
- padding: 40px;
33
- border-right: 1px solid #e2e8f0;
34
- }
35
-
36
- .dark .bpc-left {
37
- background: #1e293b;
38
- border-right-color: #334155;
39
- }
40
-
41
- .bpc-right {
42
- background: #fff;
43
- padding: 40px;
44
- }
45
-
46
- .dark .bpc-right {
47
- background: #0f172a;
48
- }
49
-
50
- /* SECTION MARKER */
51
- .bpc-section-marker {
52
- display: block;
53
- font-size: 0.8rem;
54
- font-weight: 800;
55
- text-transform: uppercase;
56
- letter-spacing: 0.1em;
57
- color: #475569;
58
- margin-bottom: 32px;
59
- }
60
-
61
- .dark .bpc-section-marker {
62
- color: #94a3b8;
63
- }
64
-
65
- /* INPUT GROUP */
66
- .bpc-input-group {
67
- margin-bottom: 24px;
68
- }
69
-
70
- .bpc-input-label {
71
- display: block;
72
- font-size: 0.95rem;
73
- font-weight: 700;
74
- color: #1e293b;
75
- margin-bottom: 12px;
76
- }
77
-
78
- .dark .bpc-input-label {
79
- color: #f8fafc;
80
- }
81
-
82
- /* SEX SELECTOR */
83
- .bpc-sex-selector {
84
- display: flex;
85
- gap: 8px;
86
- background: #f1f5f9;
87
- padding: 6px;
88
- border-radius: 14px;
89
- }
90
-
91
- .dark .bpc-sex-selector {
92
- background: #334155;
93
- }
94
-
95
- .bpc-sex-btn {
96
- flex: 1;
97
- padding: 12px;
98
- border: none;
99
- background: transparent;
100
- border-radius: 10px;
101
- font-size: 0.9rem;
102
- font-weight: 700;
103
- color: #64748b;
104
- cursor: pointer;
105
- transition: all 0.2s ease;
106
- }
107
-
108
- .bpc-sex-btn.bpc-active {
109
- background: #fff;
110
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
111
- }
112
-
113
- .dark .bpc-sex-btn.bpc-active {
114
- background: #0f172a;
115
- }
116
-
117
- .bpc-boy .bpc-sex-btn[data-sex="boy"].bpc-active {
118
- color: #0ea5e9;
119
- }
120
-
121
- .bpc-card:not(.bpc-boy) .bpc-sex-btn[data-sex="girl"].bpc-active {
122
- color: #0d9488;
123
- }
124
-
125
- /* UNIT NAV */
126
- .bpc-unit-nav {
127
- display: flex;
128
- background: #f1f5f9;
129
- padding: 6px;
130
- border-radius: 14px;
131
- }
132
-
133
- .dark .bpc-unit-nav {
134
- background: #334155;
135
- }
136
-
137
- .bpc-unit-tab {
138
- flex: 1;
139
- padding: 10px;
140
- border: none;
141
- background: transparent;
142
- color: #64748b;
143
- border-radius: 10px;
144
- font-size: 0.85rem;
145
- font-weight: 700;
146
- cursor: pointer;
147
- transition: all 0.2s ease;
148
- }
149
-
150
- .bpc-unit-tab.bpc-active {
151
- background: #fff;
152
- color: #0d9488;
153
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
154
- }
155
-
156
- .bpc-boy .bpc-unit-tab.bpc-active {
157
- color: #0ea5e9;
158
- }
159
-
160
- .dark .bpc-unit-tab.bpc-active {
161
- background: #0f172a;
162
- }
163
-
164
- /* STEPPER */
165
- .bpc-stepper-box {
166
- display: flex;
167
- align-items: center;
168
- justify-content: space-between;
169
- background: #fff;
170
- border: 2px solid #e2e8f0;
171
- border-radius: 18px;
172
- padding: 10px;
173
- margin-bottom: 12px;
174
- }
175
-
176
- .dark .bpc-stepper-box {
177
- background: #334155;
178
- border-color: #475569;
179
- }
180
-
181
- .bpc-btn-step {
182
- width: 44px;
183
- height: 44px;
184
- border-radius: 12px;
185
- border: none;
186
- background: #f8fafc;
187
- color: #1e293b;
188
- font-size: 1.5rem;
189
- font-weight: 700;
190
- cursor: pointer;
191
- transition: all 0.2s ease;
192
- }
193
-
194
- .dark .bpc-btn-step {
195
- background: #0f172a;
196
- color: #fff;
197
- }
198
-
199
- .bpc-btn-step:hover {
200
- background: #0d9488;
201
- color: #fff;
202
- }
203
-
204
- .bpc-boy .bpc-btn-step:hover {
205
- background: #0ea5e9;
206
- }
207
-
208
- .bpc-val-view {
209
- text-align: center;
210
- }
211
-
212
- .bpc-val-big {
213
- display: block;
214
- font-size: 2.25rem;
215
- font-weight: 900;
216
- color: #0f172a;
217
- }
218
-
219
- .dark .bpc-val-big {
220
- color: #fff;
221
- }
222
-
223
- .bpc-val-sub {
224
- font-size: 0.8rem;
225
- color: #64748b;
226
- font-weight: 700;
227
- }
228
-
229
- /* SLIDER */
230
- .bpc-slider {
231
- -webkit-appearance: none;
232
- appearance: none;
233
- width: 100%;
234
- margin: 16px 0;
235
- height: 6px;
236
- background: #e2e8f0;
237
- border-radius: 3px;
238
- outline: none;
239
- }
240
-
241
- .dark .bpc-slider {
242
- background: #475569;
243
- }
244
-
245
- .bpc-slider::-webkit-slider-thumb {
246
- -webkit-appearance: none;
247
- appearance: none;
248
- width: 24px;
249
- height: 24px;
250
- border-radius: 50%;
251
- background: #0d9488;
252
- cursor: pointer;
253
- border: 4px solid #fff;
254
- box-shadow: 0 4px 10px rgba(13, 148, 136, 0.4);
255
- }
256
-
257
- .bpc-boy .bpc-slider::-webkit-slider-thumb {
258
- background: #0ea5e9;
259
- box-shadow: 0 4px 10px rgba(14, 165, 233, 0.4);
260
- }
261
-
262
- /* GRID 2 */
263
- .bpc-grid-2 {
264
- display: grid;
265
- grid-template-columns: 1fr 1fr;
266
- gap: 16px;
267
- }
268
-
269
- /* NUMBER INPUT */
270
- .bpc-num-input {
271
- width: 100%;
272
- padding: 16px;
273
- border: 2px solid #e2e8f0;
274
- border-radius: 14px;
275
- font-size: 1.25rem;
276
- font-weight: 800;
277
- color: #0f172a;
278
- background: #fff;
279
- transition: all 0.2s ease;
280
- box-sizing: border-box;
281
- }
282
-
283
- .dark .bpc-num-input {
284
- background: #334155;
285
- border-color: #475569;
286
- color: #fff;
287
- }
288
-
289
- .bpc-num-input:focus {
290
- border-color: #0d9488;
291
- outline: none;
292
- box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
293
- }
294
-
295
- .bpc-boy .bpc-num-input:focus {
296
- border-color: #0ea5e9;
297
- }
298
-
299
- /* HISTORY ACTIONS */
300
- .bpc-history-actions {
301
- display: flex;
302
- flex-direction: column;
303
- gap: 12px;
304
- margin-top: 32px;
305
- }
306
-
307
- .bpc-btn-secondary {
308
- padding: 16px;
309
- background: #0f172a;
310
- color: #fff;
311
- border: none;
312
- border-radius: 14px;
313
- font-size: 0.95rem;
314
- font-weight: 800;
315
- cursor: pointer;
316
- transition: all 0.2s ease;
317
- }
318
-
319
- .bpc-btn-secondary:hover {
320
- background: #0d9488;
321
- transform: translateY(-2px);
322
- }
323
-
324
- .bpc-boy .bpc-btn-secondary:hover {
325
- background: #0ea5e9;
326
- }
327
-
328
- .bpc-btn-clear {
329
- padding: 12px;
330
- background: transparent;
331
- color: #64748b;
332
- border: 1px solid #e2e8f0;
333
- border-radius: 14px;
334
- font-size: 0.85rem;
335
- font-weight: 700;
336
- cursor: pointer;
337
- transition: all 0.2s ease;
338
- }
339
-
340
- .dark .bpc-btn-clear {
341
- border-color: #334155;
342
- }
343
-
344
- .bpc-btn-clear:hover {
345
- color: #f43f5e;
346
- border-color: #f43f5e;
347
- }
348
-
349
- /* RESULTS GRID */
350
- .bpc-res-grid {
351
- display: grid;
352
- grid-template-columns: repeat(3, 1fr);
353
- gap: 20px;
354
- margin-bottom: 24px;
355
- }
356
-
357
- .bpc-res-item {
358
- background: #f8fafc;
359
- padding: 24px 12px;
360
- border-radius: 24px;
361
- text-align: center;
362
- border: 1px solid #e2e8f0;
363
- }
364
-
365
- .dark .bpc-res-item {
366
- background: #1e293b;
367
- border-color: #334155;
368
- }
369
-
370
- .bpc-res-title {
371
- display: block;
372
- font-size: 0.75rem;
373
- font-weight: 800;
374
- text-transform: uppercase;
375
- color: #94a3b8;
376
- margin-bottom: 8px;
377
- }
378
-
379
- .bpc-percent-val {
380
- display: block;
381
- font-size: 2.25rem;
382
- font-weight: 950;
383
- color: #0d9488;
384
- line-height: 1;
385
- margin-bottom: 4px;
386
- }
387
-
388
- .bpc-boy .bpc-percent-val {
389
- color: #0ea5e9;
390
- }
391
-
392
- .dark .bpc-percent-val {
393
- color: #2dd4bf;
394
- }
395
-
396
- .bpc-res-desc {
397
- font-size: 0.85rem;
398
- font-weight: 700;
399
- color: #64748b;
400
- }
401
-
402
- /* ALERT */
403
- .bpc-alert-msg {
404
- background: #fff7ed;
405
- border: 1px solid #fed7aa;
406
- color: #9a3412;
407
- padding: 16px;
408
- border-radius: 16px;
409
- font-size: 0.85rem;
410
- font-weight: 600;
411
- line-height: 1.5;
412
- margin-bottom: 24px;
413
- }
414
-
415
- .dark .bpc-alert-msg {
416
- background: rgba(154, 52, 18, 0.1);
417
- border-color: rgba(154, 52, 18, 0.2);
418
- color: #fdba74;
419
- }
420
-
421
- .bpc-hidden {
422
- display: none;
423
- }
424
-
425
- /* CHART */
426
- .bpc-chart-box {
427
- margin-top: 16px;
428
- height: 300px;
429
- width: 100%;
430
- }
431
-
432
- /* DISCLAIMER */
433
- .bpc-disclaimer {
434
- margin-top: 40px;
435
- padding: 20px;
436
- background: #f1f5f9;
437
- border-radius: 16px;
438
- font-size: 0.85rem;
439
- color: #64748b;
440
- line-height: 1.5;
441
- font-style: italic;
442
- }
443
-
444
- .dark .bpc-disclaimer {
445
- background: #1e293b;
446
- }
447
-
448
- /* RESPONSIVE */
449
- @media (max-width: 900px) {
450
- .bpc-main {
451
- grid-template-columns: 1fr;
452
- }
453
-
454
- .bpc-left {
455
- border-right: none;
456
- border-bottom: 1px solid #e2e8f0;
457
- padding: 40px 20px;
458
- }
459
-
460
- .bpc-right {
461
- padding: 40px 20px;
462
- }
463
-
464
- .bpc-res-grid {
465
- grid-template-columns: 1fr;
466
- }
467
- }