design feedback

This commit is contained in:
David Back 2019-02-14 17:27:05 -08:00
parent 46ff3a8405
commit f6baa2432a
3 changed files with 7 additions and 5 deletions

View file

@ -1215,13 +1215,13 @@ div#grid-section, body#entity-list-body {
width: 224px;
z-index: 2;
background-color: #afafaf;
padding-bottom: 2px;
}
#filter-type-options input[type=button] {
position: relative;
top: 5px;
left: 15px;
left: 16px;
z-index: 3;
height: 14px;
height: 19px;
min-width: 60px;
font-size: 10px;
color: #000;

View file

@ -43,11 +43,11 @@
<div class="over-select"></div>
</div>
<div id="filter-type-options" class="multiselect-options">
<!-- type options with checkbox, icon, and label are added at runtime in entityList -->
<div id="filter-type-options-buttons">
<input type="button" id="filter-type-select-all" value="Select All"/>
<input type="button" id="filter-type-clear-all" value="Clear All"/>
</div>
<!-- type options with checkbox, icon, and label are added at runtime in entityList -->
</div>
</div>
<div id="filter-search-and-icon">

View file

@ -202,6 +202,7 @@ let elEntityTable,
elFilterTypeMultiselectBox,
elFilterTypeText,
elFilterTypeOptions,
elFilterTypeOptionsButtons,
elFilterTypeSelectAll,
elFilterTypeClearAll,
elFilterSearch,
@ -246,6 +247,7 @@ function loaded() {
elFilterTypeMultiselectBox = document.getElementById("filter-type-multiselect-box");
elFilterTypeText = document.getElementById("filter-type-text");
elFilterTypeOptions = document.getElementById("filter-type-options");
elFilterTypeOptionsButtons = document.getElementById("filter-type-options-buttons");
elFilterTypeSelectAll = document.getElementById('filter-type-select-all');
elFilterTypeClearAll = document.getElementById('filter-type-clear-all');
elFilterSearch = document.getElementById("filter-search");
@ -297,7 +299,7 @@ function loaded() {
let elDiv = document.createElement('div');
elDiv.onclick = onToggleTypeFilter;
elFilterTypeOptions.appendChild(elDiv);
elFilterTypeOptions.insertBefore(elDiv, elFilterTypeOptionsButtons);
let elInput = document.createElement('input');
elInput.setAttribute("type", "checkbox");