From 15369c9133a162c2a091ecffcdda013c02e64f54 Mon Sep 17 00:00:00 2001 From: Stephanie Leary Date: Tue, 19 Dec 2023 23:33:32 +0000 Subject: [PATCH] LP2046820 Add aria-current to current nav menu item Adds the aria-current="page" attribute to the Angular staff navigation menu item corresponding to the page being viewed, and styles that link with a pale green background. Signed-off-by: Stephanie Leary Signed-off-by: Shula Link Signed-off-by: Jane Sandberg --- .../src/eg2/src/app/staff/nav.component.css | 5 + .../src/eg2/src/app/staff/nav.component.html | 143 +++++++++++------- 2 files changed, 93 insertions(+), 55 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/nav.component.css b/Open-ILS/src/eg2/src/app/staff/nav.component.css index b98c64889e..effb416ea4 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.css +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.css @@ -93,6 +93,11 @@ outline: 2px solid rgba(255, 255, 204, 0.75); } +#staff-navbar .dropdown-item.active, +#staff-navbar .dropdown-item:active { + background-color: rgba(var(--bs-green-rgb), 0.15); +} + #staff-navbar>.open .nav-link { border-bottom: 0; border-top: 2px solid rgba(223, 240, 216, 0.4); diff --git a/Open-ILS/src/eg2/src/app/staff/nav.component.html b/Open-ILS/src/eg2/src/app/staff/nav.component.html index e85e16eed8..230f187251 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.html +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.html @@ -8,7 +8,7 @@