From 09c45a7e3e96b4a19b586aa1cb84fcf6ff7ef10a Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sun, 10 Aug 2025 10:19:30 +0100 Subject: [PATCH] Refactor ADIF import tabs to use Bootstrap nav-tabs Replaced custom tab navigation and styling in the ADIF import view with Bootstrap's native nav-tabs for improved maintainability and consistency. Removed related custom CSS and JavaScript, simplifying the codebase and leveraging Bootstrap's built-in tab functionality. --- application/views/adif/import.php | 131 ++++++------------------------ assets/css/general.css | 23 ------ 2 files changed, 23 insertions(+), 131 deletions(-) diff --git a/application/views/adif/import.php b/application/views/adif/import.php index 5b3828fb..973de685 100644 --- a/application/views/adif/import.php +++ b/application/views/adif/import.php @@ -15,61 +15,6 @@ ?> - -
-
- +
diff --git a/assets/css/general.css b/assets/css/general.css index 70cef25d..b6137aac 100644 --- a/assets/css/general.css +++ b/assets/css/general.css @@ -74,34 +74,11 @@ thead>tr>td { margin-bottom: 0rem; } -/* Enhanced ADIF styling */ -.adif .nav-tabs .nav-link { - border-radius: 0.5rem 0.5rem 0 0; - border: 1px solid transparent; - margin-right: 0.25rem; -} - -.adif .nav-tabs .nav-link:hover { - border-color: #e9ecef #e9ecef #dee2e6; - isolation: isolate; -} - -.adif .nav-tabs .nav-link.active { - background-color: #fff; - border-color: #dee2e6 #dee2e6 #fff; -} - .adif .card { border: none; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); } -.adif .card-header { - background-color: #f8f9fa; - border-bottom: 1px solid #dee2e6; - padding: 1rem 1.25rem; -} - .adif .card-body { padding: 1.5rem; }