update renderer to have cap status also tickets (#1325)

This commit is contained in:
NotSoToothless
2026-06-14 22:36:06 -07:00
committed by GitHub
parent 4b75ce1533
commit deb4e0fb12
4 changed files with 355 additions and 4 deletions
+20
View File
@@ -496,6 +496,26 @@
cursor: crosshair;
border: 1px solid rgba(255,255,255,0.06);
}
.rc-tickets {
display: flex;
align-items: center;
gap: 0.5rem;
width: 100%;
margin-bottom: 0.5rem;
font-size: 0.7rem;
color: rgba(255,255,255,0.8);
}
.rc-tk-side { display: flex; align-items: center; gap: 0.35rem; flex: 0 0 auto; min-width: 0; }
.rc-tk-lose { justify-content: flex-end; }
.rc-tk-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 8rem; }
.rc-tk-win .rc-tk-name { color: #5cdf5c; }
.rc-tk-lose .rc-tk-name { color: #e85555; }
.rc-tk-val { font-variant-numeric: tabular-nums; opacity: 0.85; min-width: 2.6rem; }
.rc-tk-win .rc-tk-val { text-align: right; }
.rc-tk-track { flex: 1 1 auto; display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: rgba(255,255,255,0.08); }
.rc-tk-fill { height: 100%; transition: width 0.1s linear; }
.rc-tk-fill-win { background: #2a8f2a; }
.rc-tk-fill-lose { background: #b22020; }
.rc-controls {
display: flex;
align-items: center;