Add instability numeric readout and column header tooltips

- Instability bar now taller (22px) with X/12 label centred inside it
- CSS: bar label positioned absolutely inside the wrap
- Tooltips on all column headers: AP, DR, Speed, Oxygen, Carry (armour);
  Qty, Rating, Value, Weight, State, Duration (drugs);
  Quantity, Weight, Carry, Value (items);
  Category, Rank, Bonus (skills);
  Damage, Ammo, Shots, Mode, Carry, Range (weapons)
This commit is contained in:
slaguru666
2026-04-09 13:45:23 +01:00
parent eacdf8e94b
commit e7a18a735a
2 changed files with 58 additions and 33 deletions
+25 -1
View File
@@ -2333,8 +2333,9 @@ p {
/* ── Vevaphon Instability ─────────────────────────────────────── */
.mosh .sla-instability-bar-wrap {
position: relative;
margin-top: 10px;
height: 10px;
height: 22px;
border-radius: 999px;
overflow: hidden;
background: rgba(17, 17, 17, 0.1);
@@ -2348,6 +2349,29 @@ p {
transition: width 0.3s ease;
}
.mosh .sla-instability-bar-label {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
font-family: "Josefin Sans", "Roboto", sans-serif;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.06em;
pointer-events: none;
text-shadow: 0 1px 2px rgba(0,0,0,0.55);
color: #fff;
}
.mosh .sla-instability-bar-label.instability-critical {
color: #ffe0e0;
text-shadow: 0 1px 3px rgba(80,0,0,0.8);
}
.mosh .sla-instability-bar.instability-elevated {
background: linear-gradient(90deg, rgba(203, 161, 68, 0.92), rgba(194, 112, 55, 0.96));
}