Spaces:
Running
Running
Jimin Huang
commited on
Commit
·
91c3ad2
1
Parent(s):
1e9d37d
Change settings
Browse files- src/views/LiveView.vue +17 -4
src/views/LiveView.vue
CHANGED
|
@@ -359,7 +359,7 @@ watch(
|
|
| 359 |
/* Net row */
|
| 360 |
.net { display: grid; grid-template-columns: 1fr auto; align-items: end; }
|
| 361 |
.net__label { font-size: 12px; color: #6b7280; }
|
| 362 |
-
.net__value { font-size: clamp(
|
| 363 |
|
| 364 |
/* Bar vs B&H */
|
| 365 |
.bar { height: 6px; border-radius: 999px; background: #F2F4F8; overflow: hidden; border: 1px solid #E7ECF3; }
|
|
@@ -367,10 +367,23 @@ watch(
|
|
| 367 |
.bar.neg span { background: linear-gradient(90deg,#ef4444,#dc2626); }
|
| 368 |
|
| 369 |
/* Bottom */
|
| 370 |
-
.bottom { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; }
|
| 371 |
-
.chips
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 372 |
.chip { font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 999px; background: #F6F8FB; color: #0f172a; border: 1px solid #E7ECF3; }
|
| 373 |
.chip.pos { color: #0e7a3a; background: #E9F7EF; border-color: #d7f0e0; }
|
| 374 |
.chip.neg { color: #B91C1C; background: #FBEAEA; border-color: #F3DADA; }
|
| 375 |
-
.eod { font-size: 12px; color: #6b7280; }
|
| 376 |
</style>
|
|
|
|
| 359 |
/* Net row */
|
| 360 |
.net { display: grid; grid-template-columns: 1fr auto; align-items: end; }
|
| 361 |
.net__label { font-size: 12px; color: #6b7280; }
|
| 362 |
+
.net__value { font-size: clamp(18px, 2.2vw, 25px); font-weight: 700; letter-spacing: -.01em; color: #0f172a; }
|
| 363 |
|
| 364 |
/* Bar vs B&H */
|
| 365 |
.bar { height: 6px; border-radius: 999px; background: #F2F4F8; overflow: hidden; border: 1px solid #E7ECF3; }
|
|
|
|
| 367 |
.bar.neg span { background: linear-gradient(90deg,#ef4444,#dc2626); }
|
| 368 |
|
| 369 |
/* Bottom */
|
| 370 |
+
.bottom { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: end; gap: 8px; }
|
| 371 |
+
.chips{
|
| 372 |
+
grid-column:1 / -1; /* span both columns on row 1 */
|
| 373 |
+
grid-row:1;
|
| 374 |
+
display:inline-flex;
|
| 375 |
+
gap:8px;
|
| 376 |
+
flex-wrap:wrap; /* chips can wrap within row 1 */
|
| 377 |
+
}
|
| 378 |
+
.eod{
|
| 379 |
+
grid-column:2; /* row 2, right column */
|
| 380 |
+
grid-row:2;
|
| 381 |
+
justify-self:end; /* align to the right */
|
| 382 |
+
/* allow wrapping if needed; remove nowrap */
|
| 383 |
+
font-size:12px;
|
| 384 |
+
color:#6b7280;
|
| 385 |
+
}
|
| 386 |
.chip { font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 999px; background: #F6F8FB; color: #0f172a; border: 1px solid #E7ECF3; }
|
| 387 |
.chip.pos { color: #0e7a3a; background: #E9F7EF; border-color: #d7f0e0; }
|
| 388 |
.chip.neg { color: #B91C1C; background: #FBEAEA; border-color: #F3DADA; }
|
|
|
|
| 389 |
</style>
|