From: Galen Charlton Date: Mon, 5 Nov 2018 21:40:34 +0000 (-0500) Subject: LP#1789747: tweak disabling the offline circulation link X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4ac0a694d6058c6439660c4fe5ccd2ffe6c07078;p=working%2FEvergreen.git LP#1789747: tweak disabling the offline circulation link This patch ensures that the menu link can be fully disabled by giving the "disabled" CSS class to the anchor as well as the li that contains it. It also adds a CSS rule to the disabled class to force the cursor to not-allowed; due to a quirk, an anchor with "pointer-events: none" will not respect "cursor: not-allowed", but the containing element can have that cursor rule. Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index 4a2cdd1255..fbbbbb18f5 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -112,6 +112,9 @@ a.disabled { cursor: default; color: #888 !important; } +.disabled { + cursor: not-allowed; +} #splash-nav .panel-body div { padding-bottom: 10px; diff --git a/Open-ILS/src/templates/staff/navbar.tt2 b/Open-ILS/src/templates/staff/navbar.tt2 index 99148164ea..d82ca1f305 100644 --- a/Open-ILS/src/templates/staff/navbar.tt2 +++ b/Open-ILS/src/templates/staff/navbar.tt2 @@ -232,7 +232,7 @@
  • - + [% l('Offline Circulation') %]