From 7c2bb74b4c6a89365883f65e9e7c73713cc91d7c Mon Sep 17 00:00:00 2001
From: josedario87 <71241187+josedario87@users.noreply.github.com>
Date: Wed, 11 Jun 2025 04:22:24 -0600
Subject: [PATCH 1/3] fix: remove extra header in mobile nav
---
ui/src/components/ui/NavBar.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/components/ui/NavBar.vue b/ui/src/components/ui/NavBar.vue
index 464b314..c9d8a52 100644
--- a/ui/src/components/ui/NavBar.vue
+++ b/ui/src/components/ui/NavBar.vue
@@ -79,7 +79,7 @@ const handleLinkClick = () => {
- Núcleo
+
From 6dd7867ba6916e871f2ba4544b2ccf3cdab45943 Mon Sep 17 00:00:00 2001
From: josedario87 <71241187+josedario87@users.noreply.github.com>
Date: Wed, 11 Jun 2025 04:56:17 -0600
Subject: [PATCH 2/3] Add close button for mobile sidebar
---
ui/src/components/ui/NavBar.vue | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ui/src/components/ui/NavBar.vue b/ui/src/components/ui/NavBar.vue
index c9d8a52..b21d26d 100644
--- a/ui/src/components/ui/NavBar.vue
+++ b/ui/src/components/ui/NavBar.vue
@@ -79,7 +79,11 @@ const handleLinkClick = () => {
-
+
+
From 331cad8cbcfa94a9b93624fe683decc7e26ff634 Mon Sep 17 00:00:00 2001
From: josedario87 <71241187+josedario87@users.noreply.github.com>
Date: Wed, 11 Jun 2025 05:04:52 -0600
Subject: [PATCH 3/3] Use topbar button style for mobile sidebar
---
ui/src/components/ui/NavBar.vue | 31 +++++++++++++++++++++++--------
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/ui/src/components/ui/NavBar.vue b/ui/src/components/ui/NavBar.vue
index b21d26d..e1a15de 100644
--- a/ui/src/components/ui/NavBar.vue
+++ b/ui/src/components/ui/NavBar.vue
@@ -80,8 +80,10 @@ const handleLinkClick = () => {
-
@@ -148,14 +150,27 @@ ul { list-style: none; padding-left: 0; }
color: var(--text-color);
}
-.close-btn {
- border-color: var(--secondary-color);
- color: var(--secondary-color);
+.hamburger-button {
+ background-color: var(--primary-color);
+ color: white; /* Assuming primary-color is dark enough for white text */
+ padding: 0.5rem; /* Increased padding */
+ border-radius: 0.375rem; /* Consistent border radius */
+ transition: background-color 0.2s ease-in-out, filter 0.2s ease-in-out;
+ line-height: 1; /* Ensure icon is centered if it's text-based */
}
-.close-btn:hover {
- background-color: var(--secondary-color);
- color: var(--background-color);
+.hamburger-button:hover {
+ filter: brightness(1.15); /* Slightly more noticeable hover brightness */
+}
+
+.hamburger-button:focus {
+ outline: 2px solid var(--primary-color); /* Simple outline for focus */
+ outline-offset: 2px; /* Offset outline slightly */
+}
+
+.hamburger-button:focus-visible { /* More modern focus indication */
+ outline: 2px solid var(--primary-color);
+ outline-offset: 2px;
}
.nav-link.active {