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