From 757b00a39ed6f2fa35335dbdecff191b395f73ca Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Sun, 23 Mar 2025 08:28:14 +0100 Subject: [PATCH] [Flightpath] Changed to fontawesome sat icon --- application/views/satellite/passtable.php | 2 +- assets/css/general.css | 28 ++++++++++++++++++++++ assets/icons/saticon.png | Bin 1081 -> 0 bytes assets/js/sections/flightpath.js | 18 +++++++++++--- 4 files changed, 44 insertions(+), 4 deletions(-) delete mode 100644 assets/icons/saticon.png diff --git a/application/views/satellite/passtable.php b/application/views/satellite/passtable.php index 2f871f4d8..6828b7e78 100644 --- a/application/views/satellite/passtable.php +++ b/application/views/satellite/passtable.php @@ -3,7 +3,7 @@ if (isset($filtered)) { echo '
| ' . __("Satellite") . ' | +' . __("Satellite") . ' | ' . __("AOS Time") . ' | ' . __("LOS Time") . ' | ' . __("Duration") . ' | diff --git a/assets/css/general.css b/assets/css/general.css index 7fb24a14d..b8ede0ea5 100644 --- a/assets/css/general.css +++ b/assets/css/general.css @@ -1054,6 +1054,34 @@ label { border-style: solid; } +.satellite-label { + background-color: rgb(52, 55, 56) !important; + color: rgb(255, 255, 255) !important; + border: 1px solid #fff; /* White border */ + padding: 5px 8px; + border-radius: 5px; +} + +/* Modify the tooltip's arrow (triangle) */ +.satellite-label::before { + border-top-color: rgb(52, 55, 56) !important; /* Triangle color (matches background) */ + border-width: 6px; /* Keep same size */ +} + +/* Create a white border effect around the triangle */ +.satellite-label::after { + content: ""; + position: absolute; + border-style: solid; + border-width: 8px; /* Slightly larger than ::before */ + border-color: white transparent transparent transparent; /* White top border */ + bottom: -16px; /* Match ::before position */ + left: 50%; + transform: translateX(-50%); + z-index: -1; +} + + .blank-row { height: 20px !important; } diff --git a/assets/icons/saticon.png b/assets/icons/saticon.png deleted file mode 100644 index e32656299053ac60ce6e1d8b95cb450130f27c62..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1081 zcmV-91jhS`P)
|---|