From 14a6b09d55c975b3854cfd0720898e0308f39813 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 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') %] -- 2.11.0