@jjlmoya/utils-babies 1.4.0 → 1.5.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,564 +0,0 @@
1
- /* PRINCIPAL CONTAINER */
2
- .bsc-card {
3
- max-width: 900px;
4
- margin: 0 auto;
5
- background: #fff;
6
- border: 1px solid #e2e8f0;
7
- border-radius: 24px;
8
- overflow: hidden;
9
- box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
10
- }
11
-
12
- .dark .bsc-card {
13
- background: #0f172a;
14
- border-color: #1e293b;
15
- box-shadow: none;
16
- }
17
-
18
- /* GRID STRUCTURE */
19
- .bsc-main {
20
- display: grid;
21
- grid-template-columns: 1.15fr 1fr;
22
- }
23
-
24
- .bsc-left {
25
- padding: 2.5rem;
26
- border-right: 1px solid #f1f5f9;
27
- display: flex;
28
- flex-direction: column;
29
- gap: 2rem;
30
- }
31
-
32
- .bsc-right {
33
- padding: 2.5rem;
34
- background: #fbfbfc;
35
- display: flex;
36
- flex-direction: column;
37
- position: relative;
38
- }
39
-
40
- .dark .bsc-left {
41
- border-right-color: #1e293b;
42
- }
43
-
44
- .dark .bsc-right {
45
- background: rgba(30, 41, 59, 0.15);
46
- }
47
-
48
- /* COMMON ASSETS */
49
- .bsc-section-marker {
50
- display: flex;
51
- align-items: center;
52
- gap: 12px;
53
- font-size: 0.65rem;
54
- font-weight: 950;
55
- text-transform: uppercase;
56
- color: #6366f1;
57
- letter-spacing: 0.15em;
58
- margin-bottom: 0.5rem;
59
- }
60
-
61
- .bsc-section-marker::before {
62
- content: "";
63
- width: 16px;
64
- height: 2px;
65
- background: currentcolor;
66
- border-radius: 2px;
67
- }
68
-
69
- /* BRAND AND UNITS */
70
- .bsc-brand-picker {
71
- display: flex;
72
- flex-direction: column;
73
- gap: 1.25rem;
74
- }
75
-
76
- .bsc-select-box {
77
- position: relative;
78
- width: 100%;
79
- }
80
-
81
- .bsc-select-box select {
82
- width: 100%;
83
- appearance: none;
84
- -webkit-appearance: none;
85
- background: #fff;
86
- border: 2px solid #f1f5f9;
87
- padding: 1rem 3rem 1rem 1.25rem;
88
- border-radius: 16px;
89
- font-size: 1rem;
90
- font-weight: 800;
91
- color: #1e293b;
92
- cursor: pointer;
93
- transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
94
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
95
- }
96
-
97
- .dark .bsc-select-box select {
98
- background: #1e293b;
99
- border-color: #334155;
100
- color: #f1f5f9;
101
- }
102
-
103
- .bsc-select-box::after {
104
- content: "";
105
- position: absolute;
106
- right: 1.25rem;
107
- top: 50%;
108
- transform: translateY(-50%);
109
- width: 1.2rem;
110
- height: 1.2rem;
111
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
112
- background-repeat: no-repeat;
113
- background-size: contain;
114
- pointer-events: none;
115
- }
116
-
117
- .bsc-unit-nav {
118
- display: flex;
119
- background: #f1f5f9;
120
- padding: 4px;
121
- border-radius: 100px;
122
- width: fit-content;
123
- }
124
-
125
- .dark .bsc-unit-nav {
126
- background: #0f172a;
127
- }
128
-
129
- .bsc-unit-tab {
130
- padding: 0.4rem 1.1rem;
131
- border-radius: 100px;
132
- border: none;
133
- background: transparent;
134
- font-size: 0.65rem;
135
- font-weight: 900;
136
- color: #94a3b8;
137
- cursor: pointer;
138
- }
139
-
140
- .bsc-unit-active {
141
- background: #fff;
142
- color: #6366f1;
143
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
144
- }
145
-
146
- .dark .bsc-unit-active {
147
- background: #1e293b;
148
- color: #818cf8;
149
- }
150
-
151
- /* STEPPER CONTROLS */
152
- .bsc-num-ctrl {
153
- display: flex;
154
- flex-direction: column;
155
- gap: 0.75rem;
156
- }
157
-
158
- .bsc-num-label {
159
- font-size: 0.825rem;
160
- font-weight: 850;
161
- color: #64748b;
162
- margin-bottom: 0;
163
- }
164
-
165
- .bsc-stepper-box {
166
- display: flex;
167
- align-items: center;
168
- background: #f8fafc;
169
- border: 1.5px solid #f1f5f9;
170
- padding: 0.4rem;
171
- border-radius: 18px;
172
- gap: 1rem;
173
- }
174
-
175
- .dark .bsc-stepper-box {
176
- background: #0f172a;
177
- border-color: #1e293b;
178
- }
179
-
180
- .bsc-btn-step {
181
- width: 44px;
182
- height: 44px;
183
- border: none;
184
- background: #fff;
185
- border-radius: 12px;
186
- color: #1e293b;
187
- font-size: 1.5rem;
188
- font-weight: 300;
189
- cursor: pointer;
190
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
191
- display: flex;
192
- align-items: center;
193
- justify-content: center;
194
- }
195
-
196
- .dark .bsc-btn-step {
197
- background: #1e293b;
198
- color: #fff;
199
- border: 1px solid #334155;
200
- }
201
-
202
- .bsc-val-view {
203
- flex: 1;
204
- text-align: center;
205
- display: flex;
206
- flex-direction: column;
207
- }
208
-
209
- .bsc-val-big {
210
- font-size: 1.6rem;
211
- font-weight: 950;
212
- color: #0f172a;
213
- line-height: 1;
214
- }
215
-
216
- .dark .bsc-val-big {
217
- color: #f1f5f9;
218
- }
219
-
220
- .bsc-val-sub {
221
- font-size: 0.6rem;
222
- font-weight: 900;
223
- color: #cbd5e1;
224
- text-transform: uppercase;
225
- margin-top: 2px;
226
- }
227
-
228
- .bsc-slider {
229
- width: 100%;
230
- appearance: none;
231
- -webkit-appearance: none;
232
- height: 4px;
233
- background: #f1f5f9;
234
- border-radius: 100px;
235
- margin-top: 4px;
236
- }
237
-
238
- .bsc-slider::-webkit-slider-thumb {
239
- -webkit-appearance: none;
240
- width: 18px;
241
- height: 18px;
242
- background: #6366f1;
243
- border: 3px solid #fff;
244
- border-radius: 50%;
245
- cursor: pointer;
246
- }
247
-
248
- /* AGE GRID */
249
- .bsc-age-rack {
250
- display: grid;
251
- grid-template-columns: repeat(4, 1fr);
252
- gap: 6px;
253
- background: #f1f5f9;
254
- padding: 6px;
255
- border-radius: 16px;
256
- }
257
-
258
- .dark .bsc-age-rack {
259
- background: #0f172a;
260
- }
261
-
262
- .bsc-age-tile {
263
- padding: 1rem 0.25rem;
264
- border: none;
265
- background: transparent;
266
- border-radius: 12px;
267
- font-size: 0.75rem;
268
- font-weight: 950;
269
- color: #94a3b8;
270
- cursor: pointer;
271
- transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
272
- }
273
-
274
- .bsc-age-active {
275
- background: #fff;
276
- color: #4f46e5;
277
- box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
278
- transform: translateY(-1px);
279
- }
280
-
281
- .dark .bsc-age-active {
282
- background: #1e293b;
283
- color: #818cf8;
284
- }
285
-
286
- /* MAIN RESULT */
287
- .bsc-res-header {
288
- text-align: center;
289
- margin-bottom: 2.25rem;
290
- display: flex;
291
- flex-direction: column;
292
- align-items: center;
293
- }
294
-
295
- .bsc-res-size-main {
296
- display: block;
297
- font-size: 4.5rem;
298
- font-weight: 950;
299
- color: #0f172a;
300
- line-height: 1;
301
- letter-spacing: -0.05em;
302
- margin: 0.25rem 0 0.75rem;
303
- }
304
-
305
- .dark .bsc-res-size-main {
306
- color: #f1f5f9;
307
- }
308
-
309
- .bsc-res-brand-hint {
310
- font-size: 0.75rem;
311
- font-weight: 950;
312
- color: #cbd5e1;
313
- text-transform: uppercase;
314
- letter-spacing: 0.1em;
315
- display: block;
316
- }
317
-
318
- .bsc-share-btn {
319
- position: absolute;
320
- right: 1.5rem;
321
- top: 1.5rem;
322
- background: transparent;
323
- border: none;
324
- padding: 0.6rem;
325
- color: #cbd5e1;
326
- cursor: pointer;
327
- transition: all 0.2s;
328
- border-radius: 50%;
329
- display: flex;
330
- align-items: center;
331
- justify-content: center;
332
- z-index: 10;
333
- }
334
-
335
- .bsc-share-btn:hover {
336
- color: #6366f1;
337
- background: rgba(99, 102, 241, 0.05);
338
- }
339
-
340
- .bsc-fit-label {
341
- display: inline-flex;
342
- padding: 0.4rem 1.25rem;
343
- background: #fff;
344
- border: 1.5px solid #f1f5f9;
345
- border-radius: 100px;
346
- font-size: 0.75rem;
347
- font-weight: 950;
348
- color: #64748b;
349
- }
350
-
351
- .bsc-fit-large {
352
- border-color: #10b981;
353
- color: #059669;
354
- }
355
-
356
- .bsc-fit-small {
357
- border-color: #f43f5e;
358
- color: #dc2626;
359
- }
360
-
361
- /* EQUIVALENTS GRID */
362
- .bsc-equivalents-box {
363
- border-radius: 16px;
364
- width: 100%;
365
- border: 1px solid transparent;
366
- }
367
-
368
- .bsc-eq-head-row {
369
- display: grid;
370
- grid-template-columns: 1fr auto;
371
- padding: 0.5rem 0.5rem 0.85rem;
372
- border-bottom: 2px solid #f8fafc;
373
- }
374
-
375
- .dark .bsc-eq-head-row {
376
- border-bottom-color: #1e293b;
377
- }
378
-
379
- .bsc-eq-col-name {
380
- font-size: 0.6rem;
381
- font-weight: 950;
382
- color: #cbd5e1;
383
- text-transform: uppercase;
384
- letter-spacing: 0.05em;
385
- }
386
-
387
- .bsc-eq-data-list {
388
- display: flex;
389
- flex-direction: column;
390
- width: 100%;
391
- }
392
-
393
- .bsc-eq-data-row {
394
- display: flex;
395
- justify-content: space-between;
396
- align-items: center;
397
- padding: 0.9rem 0.5rem;
398
- border-bottom: 1px solid rgba(241, 245, 249, 0.4);
399
- }
400
-
401
- .dark .bsc-eq-data-row {
402
- border-bottom-color: rgba(30, 41, 59, 0.5);
403
- }
404
-
405
- .bsc-eq-data-row:last-child {
406
- border-bottom: none;
407
- }
408
-
409
- .bsc-eq-brand-v {
410
- display: flex;
411
- flex-direction: column;
412
- gap: 0;
413
- }
414
-
415
- .bsc-eq-brand-name {
416
- font-size: 0.95rem;
417
- font-weight: 900;
418
- color: #1e293b;
419
- }
420
-
421
- .dark .bsc-eq-brand-name {
422
- color: #f1f5f9;
423
- }
424
-
425
- .bsc-eq-fit-v {
426
- font-size: 0.525rem;
427
- font-weight: 900;
428
- text-transform: uppercase;
429
- color: #cbd5e1;
430
- letter-spacing: 0.02em;
431
- }
432
-
433
- .bsc-eq-fit-large {
434
- color: #10b981;
435
- }
436
-
437
- .bsc-eq-fit-small {
438
- color: #f43f5e;
439
- }
440
-
441
- .bsc-eq-size-v {
442
- font-size: 1.25rem;
443
- font-weight: 950;
444
- color: #4f46e5;
445
- }
446
-
447
- .dark .bsc-eq-size-v {
448
- color: #818cf8;
449
- }
450
-
451
- /* GARMENT MEASURES */
452
- .bsc-clothes-meta {
453
- margin-top: auto;
454
- padding-top: 2rem;
455
- border-top: 1px dashed #e2e8f0;
456
- }
457
-
458
- .dark .bsc-clothes-meta {
459
- border-top-color: #334155;
460
- }
461
-
462
- .bsc-meta-title {
463
- font-size: 0.6rem;
464
- font-weight: 950;
465
- color: #cbd5e1;
466
- text-transform: uppercase;
467
- text-align: center;
468
- margin-bottom: 1rem;
469
- display: block;
470
- }
471
-
472
- .bsc-meta-vals {
473
- display: grid;
474
- grid-template-columns: 1fr 1fr;
475
- gap: 1rem;
476
- }
477
-
478
- .bsc-meta-cell {
479
- text-align: center;
480
- }
481
-
482
- .bsc-meta-cell label {
483
- font-size: 0.55rem;
484
- font-weight: 950;
485
- color: #94a3b8;
486
- display: block;
487
- margin-bottom: 2px;
488
- }
489
-
490
- .bsc-meta-cell span {
491
- font-size: 1.1rem;
492
- font-weight: 950;
493
- color: #1e293b;
494
- }
495
-
496
- .dark .bsc-meta-cell span {
497
- color: #f1f5f9;
498
- }
499
-
500
- /* FOOTER EXPERT TIP */
501
- .bsc-pro-tip-footer {
502
- background: #0f172a;
503
- padding: 2.25rem 2.5rem;
504
- color: #fff;
505
- display: flex;
506
- gap: 1.5rem;
507
- align-items: flex-start;
508
- }
509
-
510
- .bsc-footer-icon {
511
- font-size: 2.5rem;
512
- flex-shrink: 0;
513
- line-height: 1;
514
- color: #6366f1;
515
- }
516
-
517
- .bsc-footer-text {
518
- display: flex;
519
- flex-direction: column;
520
- gap: 0.4rem;
521
- }
522
-
523
- .bsc-footer-text h5 {
524
- font-size: 1rem;
525
- font-weight: 950;
526
- color: #fff;
527
- margin: 0;
528
- }
529
-
530
- .bsc-footer-text p {
531
- font-size: 0.85rem;
532
- color: #94a3b8;
533
- line-height: 1.6;
534
- margin: 0;
535
- }
536
-
537
- .bsc-footer-text strong {
538
- color: #6366f1;
539
- }
540
-
541
- /* MOBILE RESPONSIVE */
542
- @media (max-width: 850px) {
543
- .bsc-main {
544
- grid-template-columns: 1fr;
545
- }
546
-
547
- .bsc-left {
548
- border-right: none;
549
- border-bottom: 1px solid #f1f5f9;
550
- padding: 1.75rem;
551
- }
552
-
553
- .bsc-right {
554
- padding: 1.75rem;
555
- }
556
-
557
- .bsc-res-size-main {
558
- font-size: 3.5rem;
559
- }
560
-
561
- .bsc-age-rack {
562
- grid-template-columns: repeat(3, 1fr);
563
- }
564
- }