@jjlmoya/utils-finance 1.12.0 → 1.14.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 +5 -3
- package/scripts/postinstall.mjs +27 -0
- package/src/tool/compoundInterest/component.astro +0 -376
- package/src/tool/compoundInterest/compound-interest-calculator.css +79 -0
- package/src/tool/courtFeeCalculator/component.astro +0 -237
- package/src/tool/courtFeeCalculator/spanish-court-fees-calculator.css +235 -0
- package/src/tool/debtSnowball/component.astro +0 -636
- package/src/tool/debtSnowball/debt-snowball-calculator.css +634 -0
- package/src/tool/fireCalculator/component.astro +0 -334
- package/src/tool/fireCalculator/four-percent-rule-fire-calculator.css +332 -0
- package/src/tool/ibanBicSwiftConverter/component.astro +0 -414
- package/src/tool/ibanBicSwiftConverter/iban-to-bic-swift-converter.css +412 -0
- package/src/tool/inflation/component.astro +0 -280
- package/src/tool/inflation/inflation-calculator-spain.css +278 -0
- package/src/tool/lateInterest/component.astro +0 -400
- package/src/tool/lateInterest/late-interest-calculator.css +398 -0
- package/src/tool/legalInterestRate/component.astro +0 -509
- package/src/tool/legalInterestRate/legal-interest-on-money-spain.css +507 -0
- package/src/tool/lotteryOptimizer/component.astro +0 -561
- package/src/tool/lotteryOptimizer/spain-lottery-optimizer.css +17 -0
- package/src/tool/mortgage/component.astro +0 -641
- package/src/tool/mortgage/mortgage-calculator.css +639 -0
- package/src/tool/percentageCalculator/component.astro +0 -336
- package/src/tool/percentageCalculator/percentage-calculator.css +289 -0
- package/src/tool/rentIncreaseCalculator/component.astro +0 -372
- package/src/tool/rentIncreaseCalculator/rent-increase-calculator.css +370 -0
|
@@ -140,548 +140,6 @@ const { ui } = Astro.props;
|
|
|
140
140
|
</div>
|
|
141
141
|
</div>
|
|
142
142
|
|
|
143
|
-
<style>
|
|
144
|
-
:root {
|
|
145
|
-
--lo-bg-card: #fff;
|
|
146
|
-
--lo-border-card: #eef2f6;
|
|
147
|
-
--lo-shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 20px 40px -8px rgba(0, 0, 0, 0.05);
|
|
148
|
-
--lo-text-title: #0f172a;
|
|
149
|
-
--lo-text-secondary: #64748b;
|
|
150
|
-
--lo-text-primary: #1e293b;
|
|
151
|
-
--lo-bg-input: #f8fafc;
|
|
152
|
-
--lo-border-input: #f1f5f9;
|
|
153
|
-
--lo-focus-border: #10b981;
|
|
154
|
-
--lo-focus-ring: rgba(16, 185, 129, 0.15);
|
|
155
|
-
--lo-icon-color: #10b981;
|
|
156
|
-
--lo-bg-button: #0f172a;
|
|
157
|
-
--lo-text-button: #fff;
|
|
158
|
-
--lo-bg-hover: #1e293b;
|
|
159
|
-
--lo-bg-stat: #fff;
|
|
160
|
-
--lo-border-stat: #eef2f6;
|
|
161
|
-
--lo-bar-bg: #f1f5f9;
|
|
162
|
-
--lo-bar-fill: #10b981;
|
|
163
|
-
--lo-recommendation-bg: #eef5ff;
|
|
164
|
-
--lo-recommendation-border: #d0e4ff;
|
|
165
|
-
--lo-recommendation-icon: #3b82f6;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
:global(.theme-dark) {
|
|
169
|
-
--lo-bg-card: #0f172a;
|
|
170
|
-
--lo-border-card: rgba(255, 255, 255, 0.05);
|
|
171
|
-
--lo-text-title: #f8fafc;
|
|
172
|
-
--lo-text-secondary: #94a3b8;
|
|
173
|
-
--lo-text-primary: #f8fafc;
|
|
174
|
-
--lo-bg-input: #1e293b;
|
|
175
|
-
--lo-border-input: #334155;
|
|
176
|
-
--lo-focus-border: #10b981;
|
|
177
|
-
--lo-focus-ring: rgba(16, 185, 129, 0.15);
|
|
178
|
-
--lo-icon-color: #34d399;
|
|
179
|
-
--lo-bg-button: #10b981;
|
|
180
|
-
--lo-text-button: #fff;
|
|
181
|
-
--lo-bg-hover: #059669;
|
|
182
|
-
--lo-bg-stat: #1e293b;
|
|
183
|
-
--lo-border-stat: rgba(255, 255, 255, 0.05);
|
|
184
|
-
--lo-bar-bg: #1e293b;
|
|
185
|
-
--lo-bar-fill: #10b981;
|
|
186
|
-
--lo-recommendation-bg: rgba(59, 130, 246, 0.1);
|
|
187
|
-
--lo-recommendation-border: rgba(59, 130, 246, 0.2);
|
|
188
|
-
--lo-recommendation-icon: #60a5fa;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
:global([data-theme='dark']) {
|
|
192
|
-
--lo-bg-card: #0f172a;
|
|
193
|
-
--lo-border-card: rgba(255, 255, 255, 0.05);
|
|
194
|
-
--lo-text-title: #f8fafc;
|
|
195
|
-
--lo-text-secondary: #94a3b8;
|
|
196
|
-
--lo-text-primary: #f8fafc;
|
|
197
|
-
--lo-bg-input: #1e293b;
|
|
198
|
-
--lo-border-input: #334155;
|
|
199
|
-
--lo-focus-border: #10b981;
|
|
200
|
-
--lo-focus-ring: rgba(16, 185, 129, 0.15);
|
|
201
|
-
--lo-icon-color: #34d399;
|
|
202
|
-
--lo-bg-button: #10b981;
|
|
203
|
-
--lo-text-button: #fff;
|
|
204
|
-
--lo-bg-hover: #059669;
|
|
205
|
-
--lo-bg-stat: #1e293b;
|
|
206
|
-
--lo-border-stat: rgba(255, 255, 255, 0.05);
|
|
207
|
-
--lo-bar-bg: #1e293b;
|
|
208
|
-
--lo-bar-fill: #10b981;
|
|
209
|
-
--lo-recommendation-bg: rgba(59, 130, 246, 0.1);
|
|
210
|
-
--lo-recommendation-border: rgba(59, 130, 246, 0.2);
|
|
211
|
-
--lo-recommendation-icon: #60a5fa;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.lo-container {
|
|
215
|
-
width: 100%;
|
|
216
|
-
max-width: 1200px;
|
|
217
|
-
margin: 0 auto;
|
|
218
|
-
padding: 2rem 1rem;
|
|
219
|
-
display: flex;
|
|
220
|
-
flex-direction: column;
|
|
221
|
-
gap: 3rem;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
:global(.lo-games-grid) {
|
|
225
|
-
display: grid;
|
|
226
|
-
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
227
|
-
gap: 1.5rem;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
:global(.lo-game-btn) {
|
|
231
|
-
display: flex;
|
|
232
|
-
flex-direction: column;
|
|
233
|
-
padding: 1.5rem;
|
|
234
|
-
background: var(--lo-bg-card);
|
|
235
|
-
border: 2px solid var(--lo-border-card);
|
|
236
|
-
border-radius: 1.5rem;
|
|
237
|
-
cursor: pointer;
|
|
238
|
-
transition: all 0.2s;
|
|
239
|
-
text-align: left;
|
|
240
|
-
color: inherit;
|
|
241
|
-
outline: none;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
:global(.lo-game-btn:hover) {
|
|
245
|
-
border-color: var(--lo-focus-border);
|
|
246
|
-
box-shadow: var(--lo-shadow-card);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
:global(.lo-game-icon) {
|
|
250
|
-
width: 3rem;
|
|
251
|
-
height: 3rem;
|
|
252
|
-
border-radius: 1rem;
|
|
253
|
-
background: var(--lo-bg-input);
|
|
254
|
-
margin-bottom: 1rem;
|
|
255
|
-
display: flex;
|
|
256
|
-
align-items: center;
|
|
257
|
-
justify-content: center;
|
|
258
|
-
color: var(--lo-icon-color);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
:global(.lo-game-icon svg) {
|
|
262
|
-
width: 1.5rem;
|
|
263
|
-
height: 1.5rem;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
:global(.lo-game-name) {
|
|
267
|
-
font-size: 1.125rem;
|
|
268
|
-
font-weight: 700;
|
|
269
|
-
color: var(--lo-text-title);
|
|
270
|
-
margin-bottom: 0.5rem;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
:global(.lo-game-description) {
|
|
274
|
-
font-size: 0.875rem;
|
|
275
|
-
color: var(--lo-text-secondary);
|
|
276
|
-
margin-bottom: 1rem;
|
|
277
|
-
flex-grow: 1;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
:global(.lo-game-footer) {
|
|
281
|
-
display: flex;
|
|
282
|
-
justify-content: space-between;
|
|
283
|
-
align-items: center;
|
|
284
|
-
padding-top: 1rem;
|
|
285
|
-
border-top: 1px solid var(--lo-border-card);
|
|
286
|
-
font-size: 0.75rem;
|
|
287
|
-
font-weight: 700;
|
|
288
|
-
color: var(--lo-text-secondary);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
:global(.lo-arrow-icon) {
|
|
292
|
-
width: 1rem;
|
|
293
|
-
height: 1rem;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.lo-hidden {
|
|
297
|
-
display: none;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.lo-panel {
|
|
301
|
-
animation: slide-up 0.5s ease-out;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
@keyframes slide-up {
|
|
305
|
-
from {
|
|
306
|
-
opacity: 0;
|
|
307
|
-
transform: translateY(20px);
|
|
308
|
-
}
|
|
309
|
-
to {
|
|
310
|
-
opacity: 1;
|
|
311
|
-
transform: translateY(0);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
.lo-panel-card {
|
|
316
|
-
background: var(--lo-bg-card);
|
|
317
|
-
border: 1px solid var(--lo-border-card);
|
|
318
|
-
border-radius: 2rem;
|
|
319
|
-
padding: 2rem;
|
|
320
|
-
box-shadow: var(--lo-shadow-card);
|
|
321
|
-
display: flex;
|
|
322
|
-
flex-direction: column;
|
|
323
|
-
gap: 2rem;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.lo-panel-header {
|
|
327
|
-
display: flex;
|
|
328
|
-
justify-content: space-between;
|
|
329
|
-
align-items: flex-start;
|
|
330
|
-
gap: 1rem;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.lo-panel-title {
|
|
334
|
-
font-size: 1.25rem;
|
|
335
|
-
font-weight: 700;
|
|
336
|
-
color: var(--lo-text-title);
|
|
337
|
-
margin-bottom: 0.25rem;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.lo-panel-subtitle {
|
|
341
|
-
font-size: 0.875rem;
|
|
342
|
-
color: var(--lo-text-secondary);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.lo-investment-badge {
|
|
346
|
-
display: flex;
|
|
347
|
-
gap: 1rem;
|
|
348
|
-
padding: 1rem;
|
|
349
|
-
background: var(--lo-bg-input);
|
|
350
|
-
border-radius: 1.5rem;
|
|
351
|
-
min-width: 200px;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.lo-investment-badge > div:first-child {
|
|
355
|
-
flex: 1;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.lo-badge-label {
|
|
359
|
-
font-size: 0.75rem;
|
|
360
|
-
font-weight: 700;
|
|
361
|
-
color: var(--lo-text-secondary);
|
|
362
|
-
text-transform: uppercase;
|
|
363
|
-
margin-bottom: 0.25rem;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.lo-badge-value {
|
|
367
|
-
font-size: 1.25rem;
|
|
368
|
-
font-weight: 900;
|
|
369
|
-
color: var(--lo-text-title);
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.lo-badge-icon {
|
|
373
|
-
display: flex;
|
|
374
|
-
align-items: center;
|
|
375
|
-
color: var(--lo-icon-color);
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.lo-badge-icon :global(svg) {
|
|
379
|
-
width: 1.5rem;
|
|
380
|
-
height: 1.5rem;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.lo-panel-content {
|
|
384
|
-
display: flex;
|
|
385
|
-
flex-direction: column;
|
|
386
|
-
gap: 2rem;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
.lo-input-section {
|
|
390
|
-
display: flex;
|
|
391
|
-
flex-direction: column;
|
|
392
|
-
gap: 1.5rem;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.lo-slider-group {
|
|
396
|
-
display: flex;
|
|
397
|
-
flex-direction: column;
|
|
398
|
-
gap: 1rem;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
.lo-slider-header {
|
|
402
|
-
display: flex;
|
|
403
|
-
justify-content: space-between;
|
|
404
|
-
align-items: center;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
.lo-slider-header label {
|
|
408
|
-
font-weight: 700;
|
|
409
|
-
color: var(--lo-text-title);
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.lo-slider-value {
|
|
413
|
-
font-weight: 700;
|
|
414
|
-
color: var(--lo-focus-border);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
.lo-slider {
|
|
418
|
-
width: 100%;
|
|
419
|
-
height: 0.5rem;
|
|
420
|
-
border-radius: 0.25rem;
|
|
421
|
-
background: var(--lo-bar-bg);
|
|
422
|
-
outline: none;
|
|
423
|
-
-webkit-appearance: none;
|
|
424
|
-
appearance: none;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
.lo-slider::-webkit-slider-thumb {
|
|
428
|
-
-webkit-appearance: none;
|
|
429
|
-
appearance: none;
|
|
430
|
-
width: 1.25rem;
|
|
431
|
-
height: 1.25rem;
|
|
432
|
-
background: var(--lo-focus-border);
|
|
433
|
-
border-radius: 50%;
|
|
434
|
-
cursor: pointer;
|
|
435
|
-
box-shadow: 0 0 10px var(--lo-focus-ring);
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
.lo-slider::-moz-range-thumb {
|
|
439
|
-
width: 1.25rem;
|
|
440
|
-
height: 1.25rem;
|
|
441
|
-
background: var(--lo-focus-border);
|
|
442
|
-
border-radius: 50%;
|
|
443
|
-
cursor: pointer;
|
|
444
|
-
border: none;
|
|
445
|
-
box-shadow: 0 0 10px var(--lo-focus-ring);
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.lo-slider-labels {
|
|
449
|
-
display: flex;
|
|
450
|
-
justify-content: space-between;
|
|
451
|
-
font-size: 0.75rem;
|
|
452
|
-
font-weight: 700;
|
|
453
|
-
color: var(--lo-text-secondary);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
.lo-recommendation-box {
|
|
457
|
-
display: flex;
|
|
458
|
-
flex-direction: column;
|
|
459
|
-
gap: 1rem;
|
|
460
|
-
padding: 1.5rem;
|
|
461
|
-
background: var(--lo-recommendation-bg);
|
|
462
|
-
border: 1px solid var(--lo-recommendation-border);
|
|
463
|
-
border-radius: 1rem;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
.lo-recommendation-header {
|
|
467
|
-
display: flex;
|
|
468
|
-
align-items: center;
|
|
469
|
-
gap: 0.75rem;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
.lo-alert-icon {
|
|
473
|
-
width: 1.25rem;
|
|
474
|
-
height: 1.25rem;
|
|
475
|
-
color: var(--lo-recommendation-icon);
|
|
476
|
-
flex-shrink: 0;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
.lo-recommendation-header h4 {
|
|
480
|
-
font-size: 0.875rem;
|
|
481
|
-
font-weight: 700;
|
|
482
|
-
color: var(--lo-text-title);
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
.lo-recommendation-text {
|
|
486
|
-
font-size: 0.875rem;
|
|
487
|
-
line-height: 1.5;
|
|
488
|
-
color: var(--lo-text-primary);
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
.lo-optimal-tag {
|
|
492
|
-
font-size: 0.75rem;
|
|
493
|
-
font-weight: 700;
|
|
494
|
-
padding: 0.75rem;
|
|
495
|
-
background: var(--lo-bg-input);
|
|
496
|
-
border-radius: 0.5rem;
|
|
497
|
-
color: var(--lo-text-secondary);
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
.lo-stats-grid {
|
|
501
|
-
display: grid;
|
|
502
|
-
grid-template-columns: 1fr 1fr;
|
|
503
|
-
gap: 1rem;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
.lo-stat-card {
|
|
507
|
-
padding: 1.5rem;
|
|
508
|
-
background: var(--lo-bg-stat);
|
|
509
|
-
border: 1px solid var(--lo-border-stat);
|
|
510
|
-
border-radius: 1.5rem;
|
|
511
|
-
display: flex;
|
|
512
|
-
flex-direction: column;
|
|
513
|
-
gap: 0.75rem;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
.lo-stat-card-full {
|
|
517
|
-
grid-column: span 2;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
.lo-stat-label {
|
|
521
|
-
font-size: 0.75rem;
|
|
522
|
-
font-weight: 700;
|
|
523
|
-
color: var(--lo-text-secondary);
|
|
524
|
-
text-transform: uppercase;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
.lo-stat-value {
|
|
528
|
-
font-size: 1.5rem;
|
|
529
|
-
font-weight: 900;
|
|
530
|
-
color: var(--lo-text-title);
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
.lo-stat-bar {
|
|
534
|
-
width: 100%;
|
|
535
|
-
height: 0.25rem;
|
|
536
|
-
background: var(--lo-bar-bg);
|
|
537
|
-
border-radius: 0.25rem;
|
|
538
|
-
overflow: hidden;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
.lo-stat-bar-fill {
|
|
542
|
-
height: 100%;
|
|
543
|
-
background: var(--lo-bar-fill);
|
|
544
|
-
transition: width 0.3s ease;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
.lo-stat-hint {
|
|
548
|
-
font-size: 0.75rem;
|
|
549
|
-
color: var(--lo-text-secondary);
|
|
550
|
-
font-style: italic;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.lo-stat-header {
|
|
554
|
-
display: flex;
|
|
555
|
-
justify-content: space-between;
|
|
556
|
-
align-items: center;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
.lo-efficiency-label {
|
|
560
|
-
font-size: 0.75rem;
|
|
561
|
-
font-weight: 700;
|
|
562
|
-
padding: 0.25rem 0.75rem;
|
|
563
|
-
border-radius: 0.5rem;
|
|
564
|
-
background: var(--lo-bar-bg);
|
|
565
|
-
color: var(--lo-text-secondary);
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
.lo-efficiency-value {
|
|
569
|
-
display: flex;
|
|
570
|
-
align-items: baseline;
|
|
571
|
-
gap: 0.5rem;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
.lo-efficiency-max {
|
|
575
|
-
font-size: 0.875rem;
|
|
576
|
-
color: var(--lo-text-secondary);
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.lo-efficiency-segments {
|
|
580
|
-
display: grid;
|
|
581
|
-
grid-template-columns: repeat(10, 1fr);
|
|
582
|
-
gap: 0.5rem;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
.lo-efficiency-segment {
|
|
586
|
-
height: 0.5rem;
|
|
587
|
-
background: var(--lo-bar-bg);
|
|
588
|
-
border-radius: 0.25rem;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
.lo-comparison-section {
|
|
592
|
-
display: flex;
|
|
593
|
-
flex-direction: column;
|
|
594
|
-
gap: 2rem;
|
|
595
|
-
padding: 2rem;
|
|
596
|
-
background: var(--lo-bg-card);
|
|
597
|
-
border: 1px solid var(--lo-border-card);
|
|
598
|
-
border-radius: 2rem;
|
|
599
|
-
box-shadow: var(--lo-shadow-card);
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
.lo-comparison-header {
|
|
603
|
-
display: flex;
|
|
604
|
-
align-items: flex-start;
|
|
605
|
-
gap: 1.5rem;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
.lo-comparison-icon {
|
|
609
|
-
display: flex;
|
|
610
|
-
align-items: center;
|
|
611
|
-
justify-content: center;
|
|
612
|
-
width: 3rem;
|
|
613
|
-
height: 3rem;
|
|
614
|
-
background: var(--lo-bg-input);
|
|
615
|
-
border-radius: 1rem;
|
|
616
|
-
color: var(--lo-icon-color);
|
|
617
|
-
flex-shrink: 0;
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
.lo-comparison-icon :global(svg) {
|
|
621
|
-
width: 1.5rem;
|
|
622
|
-
height: 1.5rem;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
.lo-comparison-header > div:last-child h3 {
|
|
626
|
-
font-size: 1.25rem;
|
|
627
|
-
font-weight: 700;
|
|
628
|
-
color: var(--lo-text-title);
|
|
629
|
-
margin-bottom: 0.25rem;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
.lo-comparison-header > div:last-child p {
|
|
633
|
-
font-size: 0.875rem;
|
|
634
|
-
color: var(--lo-text-secondary);
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
:global(.lo-table-wrapper) {
|
|
638
|
-
overflow-x: auto;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
:global(.lo-table) {
|
|
642
|
-
width: 100%;
|
|
643
|
-
border-collapse: collapse;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
:global(.lo-table thead) {
|
|
647
|
-
background: var(--lo-bg-input);
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
:global(.lo-table th) {
|
|
651
|
-
padding: 1rem;
|
|
652
|
-
text-align: left;
|
|
653
|
-
font-weight: 700;
|
|
654
|
-
font-size: 0.875rem;
|
|
655
|
-
color: var(--lo-text-secondary);
|
|
656
|
-
text-transform: uppercase;
|
|
657
|
-
border-bottom: 2px solid var(--lo-border-card);
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
:global(.lo-table-right) {
|
|
661
|
-
text-align: right;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
:global(.lo-table tbody tr) {
|
|
665
|
-
border-bottom: 1px solid var(--lo-border-card);
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
:global(.lo-table td) {
|
|
669
|
-
padding: 1rem;
|
|
670
|
-
font-size: 0.875rem;
|
|
671
|
-
color: var(--lo-text-primary);
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
:global(.lo-table tbody tr:hover) {
|
|
675
|
-
background: var(--lo-bg-input);
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
:global(.lo-table-note) {
|
|
679
|
-
font-size: 0.75rem;
|
|
680
|
-
color: var(--lo-text-secondary);
|
|
681
|
-
font-style: italic;
|
|
682
|
-
text-align: center;
|
|
683
|
-
}
|
|
684
|
-
</style>
|
|
685
143
|
|
|
686
144
|
<script>
|
|
687
145
|
import { LOTTERY_DATA, LotteryLogic, type LotteryId } from './logic';
|
|
@@ -842,22 +300,3 @@ const { ui } = Astro.props;
|
|
|
842
300
|
initializeGames();
|
|
843
301
|
</script>
|
|
844
302
|
|
|
845
|
-
<style is:global>
|
|
846
|
-
.lo-game-btn.lo-selected {
|
|
847
|
-
border-color: var(--lo-focus-border);
|
|
848
|
-
background: rgba(16, 185, 129, 0.05);
|
|
849
|
-
box-shadow: 0 0 0 4px var(--lo-focus-ring);
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
.lo-stat-value.lo-negative {
|
|
853
|
-
color: #ef4444;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
.lo-stat-value.lo-positive {
|
|
857
|
-
color: #10b981;
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
.lo-efficiency-segment.lo-active {
|
|
861
|
-
background: var(--lo-bar-fill);
|
|
862
|
-
}
|
|
863
|
-
</style>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.lo-game-btn.lo-selected {
|
|
2
|
+
border-color: var(--lo-focus-border);
|
|
3
|
+
background: rgba(16, 185, 129, 0.05);
|
|
4
|
+
box-shadow: 0 0 0 4px var(--lo-focus-ring);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.lo-stat-value.lo-negative {
|
|
8
|
+
color: #ef4444;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.lo-stat-value.lo-positive {
|
|
12
|
+
color: #10b981;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.lo-efficiency-segment.lo-active {
|
|
16
|
+
background: var(--lo-bar-fill);
|
|
17
|
+
}
|