From 2aa37737001b4e5050db5ce7f9ff7eeb832a40fb Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 5 Nov 2018 16:40:34 -0500 Subject: [PATCH] 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 --- Open-ILS/src/templates/staff/css/style.css.tt2 | 3 +++ Open-ILS/src/templates/staff/navbar.tt2 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index 063da5f64e..ec81b3186c 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 8756e6ca83..6564a78b51 100644 --- a/Open-ILS/src/templates/staff/navbar.tt2 +++ b/Open-ILS/src/templates/staff/navbar.tt2 @@ -232,7 +232,7 @@
  • - + [% l('Offline Circulation') %] -- 2.11.0