Keep complete monetary labels visible on compact cards
This commit is contained in:
parent
b4dd9e42c3
commit
61000857d0
4 changed files with 23 additions and 9 deletions
|
|
@ -73,7 +73,11 @@
|
|||
"quartermasterCopy": 1
|
||||
}
|
||||
},
|
||||
"clarity": "Water and spice sellers in Guild Lobby barter explicitly non-redeemable samples; they are not the Arrakis Melange buyers. Dynamic Home Block NPC retains its organisation service. Fixed Esmar starts contracts, Staban receives deliveries. No NPC records removed."
|
||||
"clarity": "Water and spice sellers in Guild Lobby barter explicitly non-redeemable samples; they are not the Arrakis Melange buyers. Dynamic Home Block NPC retains its organisation service. Fixed Esmar starts contracts, Staban receives deliveries. No NPC records removed.",
|
||||
"conditionalRoleReview": {
|
||||
"glossu_rabban": "No built-in branch or fixed decision entry; central dossier/cargo assignments may still give this role work. Verify catalogue before removal.",
|
||||
"irulan_corrino": "No built-in branch or fixed decision entry; central dossier/cargo assignments may still give this role work. Verify catalogue before removal."
|
||||
}
|
||||
},
|
||||
"notClaimed": "Full live client coverage across every faction, permission, quest state, Java and Bedrock remains a separate player validation; fixtures do not spend money, advance quests, or transfer live players.",
|
||||
"localValidation": {
|
||||
|
|
|
|||
|
|
@ -14,14 +14,14 @@ final class MenuPolish {
|
|||
.card:hover{box-shadow:inset 0 0 0 1px #0a231f,0 2px 8px #071713}
|
||||
.hub .card{width:13.875%;min-height:66.75px}.journal .card{width:23.25%;height:103.5px;min-height:51px;padding:6px}
|
||||
.council .card{width:25.875%;height:103.5px;min-height:86.25px}.bank .card{width:18%;min-height:75px}
|
||||
.card .emblem{width:24px;height:24px;line-height:20px;padding:1px;margin:0 auto 2px;border-radius:6px;box-shadow:none;text-shadow:none}
|
||||
.card .item-icon{width:20px;height:20px}.card h2{font-size:11.5px;line-height:1.15;height:26.45px;overflow:hidden;margin:0 0 2px}.card p{font-size:9.5px;line-height:1.2;max-height:22.8px;overflow:hidden;margin:1px 0}.card p:last-child{max-height:11.4px}.locked.card{height:auto}.locked.card p{max-height:none}
|
||||
.card .emblem{font-size:19.5px;width:24px;height:24px;line-height:20px;padding:1px;margin:0 auto 2px;border-radius:6px;box-shadow:none;text-shadow:none}
|
||||
.card .item-icon{width:20px;height:20px}.card h2{font-size:11.5px;line-height:1.15;height:26.45px;overflow:hidden;margin:0 0 2px}.card p{font-size:9.5px;line-height:1.2;max-height:22.8px;overflow:hidden;margin:1px 0}.card p+p{max-height:11.4px}.house-choices .card p{max-height:11.4px}.locked.card{height:auto}.locked.card p{max-height:none}
|
||||
.house-choices .card{width:19.5%;height:78.75px;min-height:78.75px}.house-choices .card h2{font-size:11px}
|
||||
.house-choices .card .emblem{width:24px;height:24px;line-height:20px}.house-choices .card .item-icon{width:20px;height:20px}
|
||||
.house-choices .card .emblem{font-size:19.5px;width:24px;height:24px;line-height:20px}.house-choices .card .item-icon{width:20px;height:20px}
|
||||
.constellation{height:auto;min-height:262.5px;display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:flex-start;align-content:flex-start;padding:12px 0 36px}
|
||||
.constellation .card{position:relative;top:auto;left:auto;right:auto;width:129.75px;height:54px;min-height:54px;padding:6px;border-radius:8px}
|
||||
.constellation .locked.card{height:auto;min-height:63px}.constellation .back{position:absolute;bottom:0;left:0}
|
||||
.detail-link{right:4px;top:4px;font-size:9px;padding:2px 4px;border-radius:5px}
|
||||
.detail-link{right:4px;top:4px;font-size:8px;padding:1px 3px;border-radius:5px}
|
||||
.goods{width:75%;margin:0 auto;gap:12px}.travel .goods{gap:18px}.community .goods{gap:15px}.quest .goods{gap:7.5px}.hub .goods{max-width:637.5px;width:75%}
|
||||
.slot{min-height:93px;padding:8.25px 5px 7.5px;border-width:2px;border-radius:8px;box-shadow:inset 0 0 0 1px #081d1b,0 2px 5px #091d17}
|
||||
.slot:hover,.slot.selected{box-shadow:inset 0 0 0 1px #081d1b,0 2px 7px #091d17}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,16 @@ public class RendererVerification {
|
|||
throw new AssertionError(id+" card size must be 75%: "+oldBox+" -> "+newBox);
|
||||
|
||||
ImageIO.write(frame.image(),"png",dir.resolve(id+"-matrix-engine.png").toFile());
|
||||
int styleClose=html.indexOf("</style>");
|
||||
String withoutTextClipping=html.substring(0,styleClose)+".card p,.card p+p,.house-choices .card p{max-height:none;overflow:visible}"+html.substring(styleClose);
|
||||
var fullPage=Page.of(withoutTextClipping,dir.resolve(id+"-full-money.html"),loader);
|
||||
var fullFrame=HtmlRenderer.render(fullPage,1536,896,1.5,0,Selector.State.NONE);
|
||||
var displayed=page.document.select("main .card p");var complete=fullPage.document.select("main .card p");
|
||||
for(int n=0;n<displayed.size();n++)if(displayed.get(n).text().contains("DM")){
|
||||
var visibleBox=frame.boundsOf(displayed.get(n));var naturalBox=fullFrame.boundsOf(complete.get(n));
|
||||
if(visibleBox.getHeight()+.1<naturalBox.getHeight())throw new AssertionError(id+" clipped monetary text: "+displayed.get(n).text());
|
||||
}
|
||||
|
||||
for(Card card:cards){
|
||||
var element=page.document.selectFirst("[data-slot='"+card.slot()+"']");var bounds=frame.boundsOf(element);
|
||||
if(bounds==null||bounds.getWidth()<=0||bounds.getHeight()<=0)throw new AssertionError(id+" invisible slot "+card.slot());
|
||||
|
|
|
|||
|
|
@ -14,14 +14,14 @@ final class MenuPolish {
|
|||
.card:hover{box-shadow:inset 0 0 0 1px #0a231f,0 2px 8px #071713}
|
||||
.hub .card{width:13.875%;min-height:66.75px}.journal .card{width:23.25%;height:103.5px;min-height:51px;padding:6px}
|
||||
.council .card{width:25.875%;height:103.5px;min-height:86.25px}.bank .card{width:18%;min-height:75px}
|
||||
.card .emblem{width:24px;height:24px;line-height:20px;padding:1px;margin:0 auto 2px;border-radius:6px;box-shadow:none;text-shadow:none}
|
||||
.card .item-icon{width:20px;height:20px}.card h2{font-size:11.5px;line-height:1.15;height:26.45px;overflow:hidden;margin:0 0 2px}.card p{font-size:9.5px;line-height:1.2;max-height:22.8px;overflow:hidden;margin:1px 0}.card p:last-child{max-height:11.4px}.locked.card{height:auto}.locked.card p{max-height:none}
|
||||
.card .emblem{font-size:19.5px;width:24px;height:24px;line-height:20px;padding:1px;margin:0 auto 2px;border-radius:6px;box-shadow:none;text-shadow:none}
|
||||
.card .item-icon{width:20px;height:20px}.card h2{font-size:11.5px;line-height:1.15;height:26.45px;overflow:hidden;margin:0 0 2px}.card p{font-size:9.5px;line-height:1.2;max-height:22.8px;overflow:hidden;margin:1px 0}.card p+p{max-height:11.4px}.house-choices .card p{max-height:11.4px}.locked.card{height:auto}.locked.card p{max-height:none}
|
||||
.house-choices .card{width:19.5%;height:78.75px;min-height:78.75px}.house-choices .card h2{font-size:11px}
|
||||
.house-choices .card .emblem{width:24px;height:24px;line-height:20px}.house-choices .card .item-icon{width:20px;height:20px}
|
||||
.house-choices .card .emblem{font-size:19.5px;width:24px;height:24px;line-height:20px}.house-choices .card .item-icon{width:20px;height:20px}
|
||||
.constellation{height:auto;min-height:262.5px;display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:flex-start;align-content:flex-start;padding:12px 0 36px}
|
||||
.constellation .card{position:relative;top:auto;left:auto;right:auto;width:129.75px;height:54px;min-height:54px;padding:6px;border-radius:8px}
|
||||
.constellation .locked.card{height:auto;min-height:63px}.constellation .back{position:absolute;bottom:0;left:0}
|
||||
.detail-link{right:4px;top:4px;font-size:9px;padding:2px 4px;border-radius:5px}
|
||||
.detail-link{right:4px;top:4px;font-size:8px;padding:1px 3px;border-radius:5px}
|
||||
.goods{width:75%;margin:0 auto;gap:12px}.travel .goods{gap:18px}.community .goods{gap:15px}.quest .goods{gap:7.5px}.hub .goods{max-width:637.5px;width:75%}
|
||||
.slot{min-height:93px;padding:8.25px 5px 7.5px;border-width:2px;border-radius:8px;box-shadow:inset 0 0 0 1px #081d1b,0 2px 5px #091d17}
|
||||
.slot:hover,.slot.selected{box-shadow:inset 0 0 0 1px #081d1b,0 2px 7px #091d17}
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff