fix: simplify burden meter to pure inline styles

This commit is contained in:
Erik 2026-03-13 19:52:49 +01:00
parent bb89aaa6bc
commit a6e941eb01
2 changed files with 12 additions and 66 deletions

View file

@ -819,56 +819,32 @@ body.noselect, body.noselect * {
}
.inv-burden-bar {
width: 16px;
width: 14px;
height: 40px;
background: #060606;
background: #111;
border: 1px solid var(--ac-border-light);
position: relative;
overflow: visible;
overflow: hidden;
margin-bottom: 2px;
margin-top: 12px;
flex-shrink: 0;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.inv-burden-fill {
width: 100%;
background: var(--ac-green);
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 0%;
transition: height 0.3s ease;
z-index: 1;
display: block;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.inv-burden-fill.is-safe {
background: var(--ac-green) !important;
}
.inv-burden-fill.is-warning {
background: #d8a431 !important;
}
.inv-burden-fill.is-danger {
background: #b7432c !important;
transition: height 0.3s ease, background-color 0.3s ease;
}
.inv-burden-label {
position: relative;
top: 0;
width: 60px;
left: 50%;
transform: translateX(-50%);
text-align: center;
font-size: 11px;
color: var(--ac-gold);
z-index: 2;
margin-top: 4px;
margin-bottom: 4px;
font-size: 9px;
color: #ccc;
white-space: nowrap;
margin-bottom: 2px;
}
.inv-pack-list {
@ -2415,26 +2391,7 @@ table.ts-allegiance td:first-child {
display: block;
}
.inv-burden-bar {
width: 14px !important;
height: 40px !important;
margin-top: 20px !important;
}
.inv-burden-label {
position: relative !important;
top: 0 !important;
width: 60px !important;
left: 50% !important;
transform: translateX(-50%) !important;
text-align: center !important;
font-size: 9px !important;
color: #fff !important;
font-weight: normal !important;
line-height: 1.1 !important;
margin-top: 0 !important;
margin-bottom: 4px !important;
}
.inventory-count {
display: block !important;