From 3ec6ec1a9dacc44ad92c02f306580109b75afe89 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Fri, 3 Aug 2018 15:03:19 -0500 Subject: [PATCH] Center info icon. Show highlight hover with select box --- public_html/index.html | 2 +- public_html/script.js | 5 ----- public_html/style.css | 7 +++++++ 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/public_html/index.html b/public_html/index.html index ea9eef5..14d4789 100644 --- a/public_html/index.html +++ b/public_html/index.html @@ -616,7 +616,7 @@
- Learn more about Mode S data type by hovering over each data label. +
Learn more about Mode S data type by hovering over each data label.
diff --git a/public_html/script.js b/public_html/script.js index e0666aa..18610c0 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -1360,7 +1360,6 @@ function sortBy(id,sc,se) { function selectPlaneByHex(hex,autofollow) { //console.log("select: " + hex); // If SelectedPlane has something in it, clear out the selected - removeHighlight(); if (SelectedAllPlanes) { deselectAllPlanes(); } @@ -1404,10 +1403,6 @@ function selectPlaneByHex(hex,autofollow) { } function highlightPlaneByHex(hex) { - // if we've selected a plane, don't show the highlighting box - if (SelectedPlane != null) { - return; - } if (hex != null) { HighlightedPlane = hex; diff --git a/public_html/style.css b/public_html/style.css index 6cdbe81..b798d7e 100644 --- a/public_html/style.css +++ b/public_html/style.css @@ -716,6 +716,13 @@ select.error, textarea.error, input.error { color: #002F5D; line-height: 18px; } +.bottom-info-container img { + vertical-align: middle; +} +.bottom-info-container .bottom-info-text { + vertical-align: middle; + display: inline; +} .selected_airframe { padding-top: 30px; }