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 <gmc@equinoxinitiative.org>
cursor: default;
color: #888 !important;
}
+.disabled {
+ cursor: not-allowed;
+}
#splash-nav .panel-body div {
padding-bottom: 10px;
</li>
<li class="divider"></li>
<li ng-class="{disabled : offlineDisabled()}">
- <a href="./offline-interface" target="_self">
+ <a href="./offline-interface" target="_self" ng-class="{disabled : offlineDisabled()}">
<span class="glyphicon glyphicon-alert"></span>
<span>[% l('Offline Circulation') %]</span>
</a>