Skip to content

Commit

Permalink
Style Adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Keeble committed Jul 9, 2016
1 parent 6ce4f72 commit 6cd8d6b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 21 deletions.
4 changes: 2 additions & 2 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,8 @@ html.has-log .video-top-controls {
z-index:10;
background-color:white;
padding-bottom:10px;
width:100%;
min-width:1090px;
width: 100%;
min-width: 1390px;
}

html.has-video .log-graph,
Expand Down
6 changes: 3 additions & 3 deletions css/user_settings_dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@
}


.user-settings-dialog p,
.user-settings-dialog span
.user-settings-dialog p, .user-settings-dialog span
{
font-style: normal;
font-family: 'open_sansregular', Arial;
line-height: 19px;
color: #7d7d7d;
font-size: 11px;
display: inline;
margin-left: 2px;
}


/* Normal Track Override positioning*/
.user-settings-dialog input[type="checkbox"].ios-switch + div {
position: absolute;
Expand Down
24 changes: 9 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,7 @@ <h4>Log sync</h4>
</div>
</li>
</ul>

<div class="craft"></div>

<div class="graph-row">
<div class="log-graph">
<video></video>
Expand All @@ -289,11 +287,9 @@ <h2>Legend <span class="log-close-legend-dialog glyphicon glyphicon-remove"></sp
<button type="button" class="btn btn-default btn-block open-graph-configuration-dialog">Graph setup</button>
</div>
</div>

<div class="log-seek-bar">
<canvas width="200" height="100"></canvas>
</div>

<div class="log-field-values" id="log-field-values">
<a href="#log-field-values"><h4>Field values</h4></a>
<table class="table table-condensed">
Expand All @@ -307,11 +303,9 @@ <h2>Legend <span class="log-close-legend-dialog glyphicon glyphicon-remove"></sp
</tr>
</table>
</div>

<div class="configuration-file" id="configuration-file">
<!-- auto filled bu configuration function -->
</div>

</div>
<!-- Status Bar -->
<div id="status-bar">
Expand Down Expand Up @@ -1113,13 +1107,13 @@ <h4 class="modal-title">Advanced User Settings</h4>
<label>Position</label>
</td>
<td class="position">
<label>Top</label><input name="stick-top" type="number" step="1" min="0" max="100"/><span>%</span>
<label>Top</label><input name="stick-top" type="number" step="1" min="0" max="100"/><p>%</p>
</td>
<td class="position">
<label>Left</label><input name="stick-left" type="number" step="1" min="0" max="100"/><span>%</span>
<label>Left</label><input name="stick-left" type="number" step="1" min="0" max="100"/><p>%</p>
</td>
<td class="position">
<label>Size</label><input name="stick-size" type="number" step="1" min="0" max="100"/><span>%</span>
<label>Size</label><input name="stick-size" type="number" step="1" min="0" max="100"/><p>%</p>
</td>
</tr>
</table>
Expand All @@ -1141,13 +1135,13 @@ <h4 class="modal-title">Advanced User Settings</h4>
<label>Position</label>
</td>
<td class="position">
<label>Top</label><input name="craft-top" type="number" step="1" min="0" max="100"/><span>%</span>
<label>Top</label><input name="craft-top" type="number" step="1" min="0" max="100"/><p>%</p>
</td>
<td class="position">
<label>Left</label><input name="craft-left" type="number" step="1" min="0" max="100"/><span>%</span>
<label>Left</label><input name="craft-left" type="number" step="1" min="0" max="100"/><p>%</p>
</td>
<td class="position">
<label>Size</label><input name="craft-size" type="number" step="1" min="0" max="100"/><span>%</span>
<label>Size</label><input name="craft-size" type="number" step="1" min="0" max="100"/><p>%</p>
</td>
</tr>
</table>
Expand All @@ -1164,13 +1158,13 @@ <h4 class="modal-title">Advanced User Settings</h4>
<label>Position</label>
</td>
<td class="position">
<label>Top</label><input name="analyser-top" type="number" step="1" min="0" max="100"/><span>%</span>
<label>Top</label><input name="analyser-top" type="number" step="1" min="0" max="100"/><p>%</p>
</td>
<td class="position">
<label>Left</label><input name="analyser-left" type="number" step="1" min="0" max="100"/><span>%</span>
<label>Left</label><input name="analyser-left" type="number" step="1" min="0" max="100"/><p>%</p>
</td>
<td class="position">
<label>Size</label><input name="analyser-size" type="number" step="1" min="0" max="100"/><span>%</span>
<label>Size</label><input name="analyser-size" type="number" step="1" min="0" max="100"/><p>%</p>
</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion js/grapher.js
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ function FlightLogGrapher(flightLog, graphConfig, canvas, craftCanvas, analyserC
var markerFrequency = ((windowCenterTime-markerEvent.time).toFixed(0)!=0)?((1000000/(windowCenterTime-markerEvent.time)).toFixed(0) + "Hz") : '';
drawEvent(
{
event:FlightLogEvent.CUSTOM_BLANK,
event:FlightLogEvent.CUSTOM_BLANK, // Blank doesnt show a vertical line
time:windowCenterTime,
label: formatTime((windowCenterTime-markerEvent.time)/1000, true) + 'ms ' + markerFrequency,
align:(markerEvent.time<windowCenterTime)?'right':'left',
Expand Down

0 comments on commit 6cd8d6b

Please sign in to comment.