Miscellaneous fixes

This commit is contained in:
David Rowe 2016-03-26 18:23:11 +13:00
parent b7fa9d5f8d
commit 3f8b89eea8
4 changed files with 10 additions and 9 deletions

View file

@ -256,6 +256,7 @@ input[type="number"]::-webkit-inner-spin-button:active {
input[type=button] { input[type=button] {
font-family: Raleway-Bold; font-family: Raleway-Bold;
font-size: 13px; font-size: 13px;
text-transform: uppercase;
vertical-align: top; vertical-align: top;
height: 28px; height: 28px;
min-width: 120px; min-width: 120px;
@ -272,6 +273,7 @@ input[type=button] {
input[type=button].glyph { input[type=button].glyph {
font-family: HiFi-Glyphs; font-family: HiFi-Glyphs;
font-size: 20px; font-size: 20px;
text-transform: none;
min-width: 34px; min-width: 34px;
padding: 0; padding: 0;
} }

View file

@ -273,8 +273,8 @@
<body onload='loaded();'> <body onload='loaded();'>
<div id="entity-list-header"> <div id="entity-list-header">
<input type="button" class="glyph" id="refresh" value="F" /> <input type="button" class="glyph" id="refresh" value="F" />
<input type="button" id="teleport" value="JUMP TO SELECTION" /> <input type="button" id="teleport" value="Jump To Selection" />
<input type="button" class="red" id="delete" value="DELETE" /> <input type="button" class="red" id="delete" value="Delete" />
</div> </div>
<div id="entity-list"> <div id="entity-list">

View file

@ -502,10 +502,10 @@
element.getElementsByTagName("span")[0].textContent = collapsed ? "L" : "M"; element.getElementsByTagName("span")[0].textContent = collapsed ? "L" : "M";
}; };
var elCollapsible = document.getElementsByClassName("collapsible"); var elCollapsible = document.getElementsByClassName("section-header");
for (var i = 0, length = elCollapsible.length; i < length; i++) { for (var i = 0, length = elCollapsible.length; i < length; i++) {
var element = elCollapsible[i]; var element = elCollapsible[i];
addEventListener("click", toggleCollapsedEvent); element.addEventListener("click", toggleCollapsedEvent, true);
}; };
if (window.EventBridge !== undefined) { if (window.EventBridge !== undefined) {
@ -1107,7 +1107,6 @@
} }
}); });
} }
</script> </script>
</head> </head>

View file

@ -126,7 +126,7 @@
<div id="grid-section"> <div id="grid-section">
<div class="section-header"> <div class="section-header">
<label>EDITING GRID</label> <label>Editing Grid</label>
</div> </div>
<div class="property checkbox"> <div class="property checkbox">
@ -135,7 +135,7 @@
</div> </div>
<div class="property checkbox"> <div class="property checkbox">
<input type='checkbox' id="snap-to-grid"> <input type="checkbox" id="snap-to-grid">
<label for="snap-to-grid">Snap entities to grid</label> <label for="snap-to-grid">Snap entities to grid</label>
</div> </div>
@ -168,8 +168,8 @@
<div class="property"> <div class="property">
<span> <span>
<input type="button" id="move-to-selection" value="ALIGN TO SELECTION"> <input type="button" id="move-to-selection" value="Align To Selection">
<input type="button" id="move-to-avatar" value="ALIGN TO AVATAR"> <input type="button" id="move-to-avatar" value="Align To Avatar">
</span> </span>
</div> </div>
</div> </div>