Use margin to position checkboxes
This commit is contained in:
parent
71401a207f
commit
a005051c94
@ -44,6 +44,10 @@ select, input, textarea {
|
||||
input.numInput {
|
||||
width: 7em;
|
||||
}
|
||||
label {
|
||||
margin-left: 0.2em;
|
||||
margin-right: 0.2em;
|
||||
}
|
||||
button {
|
||||
border-style: outset;
|
||||
border-width: 1px;
|
||||
|
72
index.html
72
index.html
@ -62,41 +62,41 @@ A Voronoi diagram is supposed to be here but for some reason it cannot be displa
|
||||
</div>
|
||||
<div id="biomeEditElements">
|
||||
<h3>Selected biome</h3>
|
||||
<label for="inputBiomeName">Name: </label>
|
||||
<label for="inputBiomeName">Name:</label>
|
||||
<input id="inputBiomeName" type="text" size="45">
|
||||
|
||||
<br>
|
||||
|
||||
<div id="biomeColorSection">
|
||||
<label>Color: </label>
|
||||
<label>Color:</label>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<label for="inputHeat">Heat: </label>
|
||||
<label for="inputHeat">Heat:</label>
|
||||
<input id="inputHeat" class="numInput" type="number" value="50" step="1" min="-1e6" max="1e6">
|
||||
<label for="inputHumidity">Humidity: </label>
|
||||
<label for="inputHumidity">Humidity:</label>
|
||||
<input id="inputHumidity" class="numInput" type="number" value="50" step="1" min="-1e6" max="1e6">
|
||||
|
||||
<br>
|
||||
|
||||
<label for="inputMinX">Min. X: </label>
|
||||
<label for="inputMinX">Min. X:</label>
|
||||
<input id="inputMinX" class="numInput" type="number" value="-31000" step="1">
|
||||
<label for="inputMaxX">Max. X: </label>
|
||||
<label for="inputMaxX">Max. X:</label>
|
||||
<input id="inputMaxX" class="numInput" type="number" value="31000" step="1">
|
||||
|
||||
<br>
|
||||
|
||||
<label for="inputMinY">Min. Y: </label>
|
||||
<label for="inputMinY">Min. Y:</label>
|
||||
<input id="inputMinY" class="numInput" type="number" value="-31000" step="1">
|
||||
<label for="inputMaxY">Max. Y: </label>
|
||||
<label for="inputMaxY">Max. Y:</label>
|
||||
<input id="inputMaxY" class="numInput" type="number" value="31000" step="1">
|
||||
|
||||
<br>
|
||||
|
||||
<label for="inputMinZ">Min. Z: </label>
|
||||
<label for="inputMinZ">Min. Z:</label>
|
||||
<input id="inputMinZ" class="numInput" type="number" value="-31000" step="1">
|
||||
<label for="inputMaxZ">Max. Z: </label>
|
||||
<label for="inputMaxZ">Max. Z:</label>
|
||||
<input id="inputMaxZ" class="numInput" type="number" value="31000" step="1">
|
||||
</div>
|
||||
</form>
|
||||
@ -108,15 +108,12 @@ A Voronoi diagram is supposed to be here but for some reason it cannot be displa
|
||||
<div id="biomeV6ConfigContainer" class="configFrame">
|
||||
<form id="biomeV6Form">
|
||||
<div>Flags:
|
||||
<input id="inputCheckboxV6Snowbiomes" type="checkbox" checked>
|
||||
<label for="inputCheckboxV6Snowbiomes">snowbiomes</label>
|
||||
<input id="inputCheckboxV6Snowbiomes" type="checkbox" checked><label for="inputCheckboxV6Snowbiomes">snowbiomes</label>
|
||||
|
||||
<input id="inputCheckboxV6Jungles" type="checkbox" checked>
|
||||
<label for="inputCheckboxV6Jungles">jungles</label>
|
||||
<input id="inputCheckboxV6Jungles" type="checkbox" checked><label for="inputCheckboxV6Jungles">jungles</label>
|
||||
</div>
|
||||
<div>
|
||||
<label for="inputV6FreqDesert">Desert noise threshold: </label>
|
||||
<input id="inputV6FreqDesert" class="numInput" type="number" value="0.45" step="0.01" disabled>
|
||||
<label for="inputV6FreqDesert">Desert noise threshold:</label><input id="inputV6FreqDesert" class="numInput" type="number" value="0.45" step="0.01" disabled>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -127,31 +124,26 @@ A Voronoi diagram is supposed to be here but for some reason it cannot be displa
|
||||
<div id="viewConfigContainer" class="configFrame">
|
||||
<form id="viewForm">
|
||||
World position:
|
||||
<label for="inputViewX">X: </label>
|
||||
<label for="inputViewX">X:</label>
|
||||
<input id="inputViewX" class="numInput" type="number" value="0" step="1">
|
||||
|
||||
<label for="inputViewY">Y: </label>
|
||||
<label for="inputViewY">Y:</label>
|
||||
<input id="inputViewY" class="numInput" type="number" value="0" step="1">
|
||||
|
||||
<label for="inputViewZ">Z: </label>
|
||||
<label for="inputViewZ">Z:</label>
|
||||
<input id="inputViewZ" class="numInput" type="number" value="0" step="1">
|
||||
|
||||
<br>
|
||||
|
||||
<input id="inputCheckboxPoints" type="checkbox" checked>
|
||||
<label for="inputCheckboxPoints">Show points</label>
|
||||
<input id="inputCheckboxPoints" type="checkbox" checked><label for="inputCheckboxPoints">Show points</label>
|
||||
|
||||
<input id="inputCheckboxNames" type="checkbox" checked>
|
||||
<label for="inputCheckboxNames">Show names</label>
|
||||
<input id="inputCheckboxNames" type="checkbox" checked><label for="inputCheckboxNames">Show names</label>
|
||||
|
||||
<input id="inputCheckboxAxes" type="checkbox">
|
||||
<label for="inputCheckboxAxes">Show axes</label>
|
||||
<input id="inputCheckboxAxes" type="checkbox"><label for="inputCheckboxAxes">Show axes</label>
|
||||
|
||||
<input id="inputCheckboxGrid" type="checkbox" checked>
|
||||
<label for="inputCheckboxGrid">Show grid</label>
|
||||
<input id="inputCheckboxGrid" type="checkbox" checked><label for="inputCheckboxGrid">Show grid</label>
|
||||
|
||||
<input id="inputCheckboxCellColors" type="checkbox" checked>
|
||||
<label for="inputCheckboxCellColors">Colorize cells</label>
|
||||
<input id="inputCheckboxCellColors" type="checkbox" checked><label for="inputCheckboxCellColors">Colorize cells</label>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@ -161,36 +153,34 @@ A Voronoi diagram is supposed to be here but for some reason it cannot be displa
|
||||
<div class="configFrame" id="noiseConfigContainer">
|
||||
<form id="noiseForm">
|
||||
<h3>Heat (<code id="noiseSettingNameHeat">mg_biome_np_heat</code>)</h3>
|
||||
<label for="inputNoiseHeatOffset">Offset: </label>
|
||||
<label for="inputNoiseHeatOffset">Offset:</label>
|
||||
<input id="inputNoiseHeatOffset" class="numInput" type="number" value="50" step=0.01>
|
||||
|
||||
<label for="inputNoiseHeatScale">Scale: </label>
|
||||
<label for="inputNoiseHeatScale">Scale:</label>
|
||||
<input id="inputNoiseHeatScale" class="numInput" type="number" value="50" step=0.01>
|
||||
|
||||
<label for="inputNoiseHeatOctaves">Octaves: </label>
|
||||
<label for="inputNoiseHeatOctaves">Octaves:</label>
|
||||
<input id="inputNoiseHeatOctaves" class="numInput" type="number" value="3" step="1" min="1" max="65535">
|
||||
|
||||
<label for="inputNoiseHeatPersistence">Persistence: </label>
|
||||
<label for="inputNoiseHeatPersistence">Persistence:</label>
|
||||
<input id="inputNoiseHeatPersistence" class="numInput" type="number" value="0.5" step=0.01>
|
||||
|
||||
<input id="inputNoiseHeatAbsvalue" type="checkbox">
|
||||
<label for="inputNoiseHeatAbsvalue">absvalue</label>
|
||||
<input id="inputNoiseHeatAbsvalue" type="checkbox"><label for="inputNoiseHeatAbsvalue">absvalue</label>
|
||||
|
||||
<h3>Humidity (<code id="noiseSettingNameHumidity">mg_biome_np_humidity</code>)</h3>
|
||||
<label for="inputNoiseHumidityOffset">Offset: </label>
|
||||
<label for="inputNoiseHumidityOffset">Offset:</label>
|
||||
<input id="inputNoiseHumidityOffset" class="numInput" type="number" value="50" step=0.01>
|
||||
|
||||
<label for="inputNoiseHumidityScale">Scale: </label>
|
||||
<label for="inputNoiseHumidityScale">Scale:</label>
|
||||
<input id="inputNoiseHumidityScale" class="numInput" type="number" value="50" step=0.01>
|
||||
|
||||
<label for="inputNoiseHumidityOctaves">Octaves: </label>
|
||||
<label for="inputNoiseHumidityOctaves">Octaves:</label>
|
||||
<input id="inputNoiseHumidityOctaves" class="numInput" type="number" value="3" step="1" min="1" max="65535">
|
||||
|
||||
<label for="inputNoiseHumidityPersistence">Persistence: </label>
|
||||
<label for="inputNoiseHumidityPersistence">Persistence:</label>
|
||||
<input id="inputNoiseHumidityPersistence" class="numInput" type="number" value="0.5" step=0.01>
|
||||
|
||||
<input id="inputNoiseHumidityAbsvalue" type="checkbox">
|
||||
<label for="inputNoiseHumidityAbsvalue">absvalue</label>
|
||||
<input id="inputNoiseHumidityAbsvalue" type="checkbox"><label for="inputNoiseHumidityAbsvalue">absvalue</label>
|
||||
|
||||
<h3>Reset</h3>
|
||||
<button id="inputNoiseReset" type="button">Reset noise parameters</button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user