better html inputs
This commit is contained in:
parent
9b26aa7629
commit
1dd40d0584
|
@ -12,6 +12,18 @@ body {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
/* Chrome, Safari, Edge, Opera */
|
||||
input::-webkit-outer-spin-button,
|
||||
input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Firefox */
|
||||
input[type=number] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
#glCanvas {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
|
|
|
@ -72,20 +72,20 @@
|
|||
<div class='ui-block'>
|
||||
<div style='display: inline;'>Change scale: </div>
|
||||
<div style='display: inline;'>X: </div>
|
||||
<input type="number" value="1" id="scalex">
|
||||
<input type="number" value="1" min="0" step='0.00001' id="scalex">
|
||||
<div style='display: inline;'>Y: </div>
|
||||
<input type="number" value="1" id="scaley">
|
||||
<input type="number" value="1" min="0" step='0.00001' id="scaley">
|
||||
<div style='display: inline;'>Z: </div>
|
||||
<input type="number" value="1" id="scalez">
|
||||
<input type="number" value="1" min="0" step='0.00001' id="scalez">
|
||||
</div>
|
||||
<div class='ui-block'>
|
||||
<div style='display: inline;'>Translate: </div>
|
||||
<div style='display: inline;'>X: </div>
|
||||
<input type="number" value="0" id="posx">
|
||||
<input type="number" value="0" step='0.00001' id="posx">
|
||||
<div style='display: inline;'>Y: </div>
|
||||
<input type="number" value="0" id="posy">
|
||||
<input type="number" value="0" step='0.00001' id="posy">
|
||||
<div style='display: inline;'>Z: </div>
|
||||
<input type="number" value="0" id="posz">
|
||||
<input type="number" value="0" step='0.00001' id="posz">
|
||||
</div>
|
||||
<div class='ui-block'>
|
||||
<div style='display: inline;'>Change object: </div>
|
||||
|
|
Loading…
Reference in New Issue