Reposition map buttons

This commit is contained in:
Carlos Salaverria 2016-08-30 17:20:29 -05:00
parent a37c75bf83
commit f2ea5a75bb
2 changed files with 16 additions and 11 deletions

View file

@ -113,7 +113,6 @@
<div id="sidebar_container"> <div id="sidebar_container">
<div id="splitter" class="ui-resizable-handle ui-resizable-w"></div> <div id="splitter" class="ui-resizable-handle ui-resizable-w"></div>
<div id="sidebar_canvas"> <div id="sidebar_canvas">
<a id="show_map_button" href="#"></a>
<div id="dump1090_infoblock"> <div id="dump1090_infoblock">
<table style="width: 100%"> <table style="width: 100%">
@ -128,10 +127,12 @@
<tr class="infoblock_body"> <tr class="infoblock_body">
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td colspan="3"> <td colspan="2">
<a id="show_map_button" href="#"></a>
<div id="sudo_buttons"> <div id="sudo_buttons">
<span class="pointer" onclick="resetMap();">[ Reset Map ]</span> <span class="pointer" onclick="resetMap();">[ Reset Map ]</span>
<span class="pointer" onclick="selectAllPlanes();">[ Select All ]</span> <span class="pointer" onclick="selectAllPlanes();">[ Select All ]</span>
@ -142,6 +143,7 @@
<tr class="infoblock_body"> <tr class="infoblock_body">
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td>
</tr> </tr>
<tr class="infoblock_body"> <tr class="infoblock_body">

View file

@ -10,11 +10,12 @@ html, body {
#selected_infoblock { #selected_infoblock {
position: absolute; position: absolute;
background: #ffffff;
padding: 20px;
box-shadow: 4px 4px 10px #444444;
left: 20px; left: 20px;
top: 20px; top: 20px;
min-width: 360px;
padding: 20px;
background: #ffffff;
box-shadow: 4px 4px 10px #444444;
} }
#map_container { #map_container {
@ -34,8 +35,8 @@ html, body {
width: 48px; width: 48px;
height: 40px; height: 40px;
position: absolute; position: absolute;
bottom: 150px; top: 10px;
right: 6px; right: 10px;
} }
#toggle_sidebar_button.show_sidebar { #toggle_sidebar_button.show_sidebar {
@ -59,8 +60,8 @@ html, body {
width: 48px; width: 48px;
height: 40px; height: 40px;
position: absolute; position: absolute;
bottom: 100px; top: 56px;
right: 6px; right: 10px;
} }
#expand_sidebar_button { #expand_sidebar_button {
@ -161,9 +162,11 @@ select.error, textarea.error, input.error {
.ol-zoom { .ol-zoom {
left: unset !important; left: unset !important;
right: 1.2em !important; right: 20px !important;
top: 120px !important;
} }
.layer-switcher { .layer-switcher {
top: 5em !important; top: 190px !important;
right: 10px !important;
} }