Miscellaneous fixes

This commit is contained in:
David Rowe 2016-04-01 17:30:22 +13:00
parent 1f0529b5ea
commit 7d36ec9520
3 changed files with 15 additions and 7 deletions

View file

@ -85,6 +85,7 @@ table {
thead { thead {
font-family: Raleway-Regular; font-family: Raleway-Regular;
font-size: 12px; font-size: 12px;
text-transform: uppercase;
background-color: #1c1c1c; background-color: #1c1c1c;
padding: 1px 0px; padding: 1px 0px;
border-bottom: 1px solid #575757; border-bottom: 1px solid #575757;
@ -504,6 +505,13 @@ input[type=checkbox]:checked + label:hover {
clear: both; clear: both;
} }
.unit {
padding-left: 4px;
vertical-align: top;
position: relative;
top: 5px;
}
.dropdown { .dropdown {
position: relative; position: relative;
margin-bottom: -17px; margin-bottom: -17px;

View file

@ -287,7 +287,7 @@
<div id="entity-list"> <div id="entity-list">
<div id="search-area"> <div id="search-area">
<input type="text" class="search" id="filter" placeholder="Filter" /> <input type="text" class="search" id="filter" placeholder="Filter" />
<span id="radius-and-unit"><input type="number" id="radius" value="100" />&nbsp;m</span> <span id="radius-and-unit"><input type="number" id="radius" value="100" /><span class="unit">m</span></span>
</div> </div>
<div id="entity-table-scroll"> <div id="entity-table-scroll">
<table id="entity-table"> <table id="entity-table">
@ -298,9 +298,9 @@
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th id="entity-type" data-sort="type">TYPE <span class="sort-order" style="display: inline">&nbsp;&#x25BE;</span></th> <th id="entity-type" data-sort="type">Type <span class="sort-order" style="display: inline">&nbsp;&#x25BE;</span></th>
<th id="entity-name" data-sort="type">NAME <span class="sort-order" style="display: none">&nbsp;&#x25BE;</span></th> <th id="entity-name" data-sort="type">Name <span class="sort-order" style="display: none">&nbsp;&#x25BE;</span></th>
<th id="entity-url" data-sort="url">FILE <span class="sort-order" style="display: none">&nbsp;&#x25BE;</span></th> <th id="entity-url" data-sort="url">File <span class="sort-order" style="display: none">&nbsp;&#x25BE;</span></th>
</tr> </tr>
</thead> </thead>
<tbody class="list" id="entity-table-body"> <tbody class="list" id="entity-table-body">

View file

@ -148,13 +148,13 @@
<div class="number"> <div class="number">
<label>Major grid size</label> <label>Major grid size</label>
<span> <span>
<input type="number" id="major-spacing" min="1" step="1" /> <input type="number" id="major-spacing" min="1" step="1" /><span class="unit">m</span>
</span> </span>
</div> </div>
<div class="number"> <div class="number">
<label>Minor grid size</label> <label>Minor grid size</label>
<span> <span>
<input type="number" id="minor-spacing" min="0.2" step="0.2" /> <input type="number" id="minor-spacing" min="0.2" step="0.2" /><span class="unit">m</span>
</span> </span>
</div> </div>
</div> </div>
@ -162,7 +162,7 @@
<div class="property number"> <div class="property number">
<label>Position (Y axis)</label> <label>Position (Y axis)</label>
<span> <span>
<input type="number" id="horiz-y" step="0.1" /> <input type="number" id="horiz-y" step="0.1" /><span class="unit">m</span>
</span> </span>
</div> </div>