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