SkyView extended mode-s changes

* Add extended Mode-S info to infoblock
* Move the infoblock to the sidebar
* Resizable infoblock
* Add hover tooltips for infoblock labels
This commit is contained in:
James Wilson 2018-07-30 17:51:18 -05:00
parent 20a16d50bd
commit 3e4012e958
6 changed files with 723 additions and 407 deletions

View file

@ -1,4 +1,5 @@
html, body {
-ms-overflow-style: -ms-autohiding-scrollbar;
margin: 0; padding: 0; background-color: #ffffff; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 10pt; overflow: auto; height: 100%;
}
@ -9,15 +10,28 @@ html, body {
}
#selected_infoblock {
position: absolute;
left: 40px;
top: 60px;
min-width: 394px;
padding: 10px;
position: absolute;
bottom: 0;
margin: 0;
border-top: 1px solid #ccc;
background: #ffffff;
box-shadow: 4px 4px 10px #444444;
cursor: pointer;
z-index: 9999;
width: 100%;
height: 400px;
}
.infoblock-container {
overflow: scroll;
height: 100%;
}
#sidebar_canvas {
padding: 10px;
overflow: scroll;
}
#sidebar_container {
display: flex;
flex-direction: column;
width: 500px;
left: 0 !important;
height: 100%;
}
#map_container {
@ -85,15 +99,9 @@ html, body {
background-size: cover;
}
#sidebar_container {
display: flex;
width: 500px;
left: 0 !important;
}
#splitter {
cursor: col-resize;
cursor: ew-resize;
display: block;
position: absolute;
top: 125px;
@ -106,7 +114,26 @@ html, body {
background-position: 0px;
background-color: transparent;
border: none;
background-image: url("images/column-adjust.png");
background-image: url("images/toggle-width@2x.png");
background-size: cover;
}
#splitter-infoblock {
cursor: ns-resize;
display: inline-block;
position: absolute ;
top: 0px;
right: 0;
/* float: right; */
margin-left: auto;
width: 24px;
height: 25px;
background-size: 24px 25px;
background-repeat: no-repeat;
background-position: 0px;
background-color: transparent;
border: none;
background-image: url("images/toggle-height@2x.png");
background-size: cover;
}
@ -134,11 +161,7 @@ html, body {
left: 10px !important;
}
#sidebar_canvas {
flex: 1 1 auto;
padding: 10px;
overflow: scroll;
}
div#SpecialSquawkWarning { position: absolute; bottom: 25px; right: 430px; border: 2px solid red;
background-color: #FFFFA3; opacity: 0.75; filter:alpha(opacity=75); padding: 5px;
@ -257,22 +280,33 @@ select.error, textarea.error, input.error {
padding-right: 20px;
}
.infoHeading
{
.infoHeading {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 18px;
font-size: 12px;
font-weight: bold;
line-height: 16px;
color: #002F5D;
color: rgb(0, 47, 93);
}
.infoData
{
.infoData {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 18px;
font-size: 12px;
line-height: 16px;
color: #000000;
color: rgb(0, 0, 0);
}
.sectionTitle {
width: 100%;
text-transform: uppercase;
color: #fff;
background: #002F5D;
font-size: 14px;
/* padding: 5px 20px; */
/* margin-left: -10px; */
}
.section-title-content {
padding: 5px 20px;
}
.legend
@ -301,8 +335,7 @@ select.error, textarea.error, input.error {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
text-indent: 16px
color: #000000;
text-indent: 16px;
color: rgb(0, 0, 0);
}
@ -316,24 +349,6 @@ select.error, textarea.error, input.error {
text-decoration: underline;
}
.infoHeading
{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 12px;
line-height: 16px;
color: #666666;
color: rgb(102, 102, 102);
}
.infoData
{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 12px;
line-height: 16px;
color: #000000;
color: rgb(0, 0, 0);
}
#header {
width: 100%;
height: 60px;
@ -471,12 +486,12 @@ select.error, textarea.error, input.error {
.infoRowTitle {
display: inline-block;
width: 50%;
/* width: 50%; */
}
.infoRowContent {
display: inline-block;
width: 40%;
/* width: 40%; */
}
.infoRowFluid {
@ -487,6 +502,13 @@ select.error, textarea.error, input.error {
padding-top: 10px;
}
.infoRowLine {
width: 49%;
display: inline-block;
padding-top: 2px;
padding-bottom: 2px;
}
.removePadding {
padding: 0;
}
@ -517,7 +539,7 @@ select.error, textarea.error, input.error {
.lightGreyBackground {
background-color: #efefef;
}
/*
.fourColumnSection1 {
width: 20%;
}
@ -532,7 +554,7 @@ select.error, textarea.error, input.error {
.fourColumnSection4 {
width: 20%;
}
} */
#dump1090_infoblock {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
@ -655,6 +677,32 @@ select.error, textarea.error, input.error {
outline: none;
}
.bottom-container {
width: 100%;
margin-top: 8px;
padding: 40px 0px;
text-align: center;
background-color: #eee;
}
#selected_flightaware_link a {
background-color: #00a0e2;
color: white;
text-decoration: none;
padding: 10px;
border-radius: 4px;
}
.bottom-info-container {
padding-top: 10px;
padding-bottom: 10px;
text-align: center;
color: #002F5D;
line-height: 18px;
}
.infoblock-container-small .infoRowFluid {
display: block;
}
/* Retina 2x images */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.settingsCloseBox {
@ -672,9 +720,6 @@ select.error, textarea.error, input.error {
.ol-zoom-in {
background-image: url("images/zoom-in@2x.png");
}
#splitter {
background-image: url("images/column-adjust@2x.png");
}
#toggle_sidebar_button.show_sidebar {
background-image: url("images/table-icon@2x.png");
}
@ -703,9 +748,6 @@ select.error, textarea.error, input.error {
.ol-zoom-in {
background-image: url("images/zoom-in@3x.png");
}
#splitter {
background-image: url("images/column-adjust@3x.png");
}
#toggle_sidebar_button.show_sidebar {
background-image: url("images/table-icon@3x.png");
}