fix: separate burden label from meter
This commit is contained in:
parent
ca88f90476
commit
a3c3d0286e
2 changed files with 13 additions and 7 deletions
|
|
@ -1717,8 +1717,8 @@ function showInventoryWindow(name) {
|
||||||
const burdenLabel = document.createElement('div');
|
const burdenLabel = document.createElement('div');
|
||||||
burdenLabel.className = 'inv-burden-label';
|
burdenLabel.className = 'inv-burden-label';
|
||||||
burdenLabel.textContent = 'Burden';
|
burdenLabel.textContent = 'Burden';
|
||||||
burdenContainer.appendChild(burdenLabel);
|
|
||||||
burdenContainer.appendChild(burdenFill);
|
burdenContainer.appendChild(burdenFill);
|
||||||
|
sidebar.appendChild(burdenLabel);
|
||||||
sidebar.appendChild(burdenContainer);
|
sidebar.appendChild(burdenContainer);
|
||||||
|
|
||||||
const packList = document.createElement('div');
|
const packList = document.createElement('div');
|
||||||
|
|
|
||||||
|
|
@ -858,14 +858,17 @@ body.noselect, body.noselect * {
|
||||||
}
|
}
|
||||||
|
|
||||||
.inv-burden-label {
|
.inv-burden-label {
|
||||||
position: absolute;
|
position: relative;
|
||||||
top: -18px;
|
top: 0;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
left: -22px;
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
color: var(--ac-gold);
|
color: var(--ac-gold);
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
margin-top: 4px;
|
||||||
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inv-pack-list {
|
.inv-pack-list {
|
||||||
|
|
@ -2419,15 +2422,18 @@ table.ts-allegiance td:first-child {
|
||||||
}
|
}
|
||||||
|
|
||||||
.inv-burden-label {
|
.inv-burden-label {
|
||||||
position: absolute !important;
|
position: relative !important;
|
||||||
top: -20px !important;
|
top: 0 !important;
|
||||||
width: 60px !important;
|
width: 60px !important;
|
||||||
left: -22px !important;
|
left: 50% !important;
|
||||||
|
transform: translateX(-50%) !important;
|
||||||
text-align: center !important;
|
text-align: center !important;
|
||||||
font-size: 9px !important;
|
font-size: 9px !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
line-height: 1.1 !important;
|
line-height: 1.1 !important;
|
||||||
|
margin-top: 0 !important;
|
||||||
|
margin-bottom: 4px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inventory-count {
|
.inventory-count {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue