diff --git a/assets/css/custom.css b/assets/css/custom.css
index ad03751..b7a3877 100644
--- a/assets/css/custom.css
+++ b/assets/css/custom.css
@@ -65,9 +65,44 @@ body {
font-weight: 500;
}
-.btn-primary:hover {
+.btn-primary:hover,
+.btn-primary:focus,
+.btn-primary:active,
+.btn-primary.active,
+.btn-primary:focus-visible {
background-color: #2563eb;
border-color: #2563eb;
+ color: #ffffff !important;
+ box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.5);
+ outline: none;
+}
+
+.nav-link.active {
+ color: #3b82f6 !important;
+}
+
+.navbar-nav .nav-link.active {
+ border-bottom: 2px solid #3b82f6;
+}
+
+.nav-pills .nav-link.active,
+.nav-pills .nav-link.active:hover,
+.nav-pills .nav-link.active:focus,
+.nav-pills .nav-link.active:active {
+ background-color: #3b82f6 !important;
+ color: #ffffff !important;
+ border-bottom: none !important;
+ box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
+}
+
+.btn-check:checked + .btn-outline-primary,
+.btn-check:active + .btn-outline-primary,
+.btn-outline-primary:active,
+.btn-outline-primary.active,
+.btn-outline-primary.dropdown-toggle.show {
+ color: #ffffff !important;
+ background-color: #3b82f6 !important;
+ border-color: #3b82f6 !important;
}
.table {
diff --git a/employee_detail.php b/employee_detail.php
index 1d2401a..68b34bb 100644
--- a/employee_detail.php
+++ b/employee_detail.php
@@ -97,7 +97,7 @@ function formatBytes($bytes, $precision = 2) {
= htmlspecialchars($employee['position'] ?? 'Staff') ?> • Joined = $employee['start_date'] ? date('M j, Y', strtotime($employee['start_date'])) : 'N/A' ?>
@@ -259,7 +259,7 @@ function formatBytes($bytes, $precision = 2) {
= formatBytes((int)$f['file_size']) ?> |
= date('M j, Y', strtotime($f['created_at'])) ?> |
- View
+ View
|
diff --git a/employees.php b/employees.php
index ad21778..7346ac0 100644
--- a/employees.php
+++ b/employees.php
@@ -122,8 +122,8 @@ include __DIR__ . '/includes/header.php';
$= number_format((float)($e['current_wage'] ?? 0), 2) ?>/h |
= $e['is_limited'] ? 'Limited' : 'Regular' ?> |
- View
-
+ View
+
|
diff --git a/expenses.php b/expenses.php
index 8129c27..0b878d8 100644
--- a/expenses.php
+++ b/expenses.php
@@ -147,7 +147,7 @@ include __DIR__ . '/includes/header.php';
@@ -194,7 +194,7 @@ include __DIR__ . '/includes/header.php';
-
+
|
diff --git a/includes/header.php b/includes/header.php
index 5129896..d03580e 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -15,12 +15,6 @@ $currentPage = basename($_SERVER['PHP_SELF']);
-
diff --git a/labour.php b/labour.php
index e28bb17..0d5b0f8 100644
--- a/labour.php
+++ b/labour.php
@@ -179,7 +179,7 @@ include __DIR__ . '/includes/header.php';
Labour Tracking
@@ -237,7 +237,7 @@ include __DIR__ . '/includes/header.php';
@@ -281,7 +281,7 @@ include __DIR__ . '/includes/header.php';
= htmlspecialchars($l['notes'] ?? '') ?> |
-
+
|
diff --git a/projects.php b/projects.php
index ed31bbd..0aa66f5 100644
--- a/projects.php
+++ b/projects.php
@@ -173,7 +173,7 @@ include __DIR__ . '/includes/header.php';
@@ -228,7 +228,7 @@ include __DIR__ . '/includes/header.php';
= ucfirst(str_replace('_', ' ', $p['status'])) ?> |
-
+
|