Mapwright v0.5.0 — procedural battle map generator for Foundry VTT
Buildings (modern/fantasy, multi-floor, footprint shapes), caves, outdoor biomes, and town/village + city-block settlements. Auto-places Foundry walls, doors, windows, lighting; furniture as locked tiles; live preview. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
.mapwright .mapwright-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 280px 1fr;
|
||||
gap: 12px;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-controls {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-field > label {
|
||||
font-weight: 600;
|
||||
font-size: 12px;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-field input[type="text"],
|
||||
.mapwright .mapwright-field select {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-seed-row {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-seed-row input { flex: 1; }
|
||||
|
||||
.mapwright .mapwright-icon-btn {
|
||||
flex: 0 0 auto;
|
||||
width: 34px;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-toggles {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
border: 1px solid var(--color-border-light-tertiary, #7a7971);
|
||||
border-radius: 4px;
|
||||
padding: 6px 8px;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-toggles legend { font-weight: 600; font-size: 12px; }
|
||||
|
||||
.mapwright .mapwright-toggles label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-toggles input[type="checkbox"] { flex: 0 0 auto; }
|
||||
|
||||
.mapwright .mapwright-stats {
|
||||
font-size: 12px;
|
||||
opacity: 0.75;
|
||||
min-height: 16px;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-create {
|
||||
margin-top: auto;
|
||||
padding: 8px;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-hint {
|
||||
font-size: 11px;
|
||||
opacity: 0.6;
|
||||
margin: 0;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-stage {
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
background: #14161a;
|
||||
border: 1px solid #000;
|
||||
border-radius: 4px;
|
||||
overflow: auto;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-preview {
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-preview svg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.mapwright .mapwright-error { color: #ff6b6b; padding: 12px; }
|
||||
Reference in New Issue
Block a user