summaryrefslogtreecommitdiffstats
path: root/style
diff options
context:
space:
mode:
authorSimon Rettberg2018-03-05 15:39:34 +0100
committerSimon Rettberg2018-03-05 15:39:34 +0100
commite9a04d4525da1fa2d0549c01e8d87167f36c24d8 (patch)
tree25e44630aa1650130f8006d215f671b13b0b15fd /style
parent[permissionmanager] PermissionDbUpdate::saveRole(): handle empty lists (diff)
downloadslx-admin-e9a04d4525da1fa2d0549c01e8d87167f36c24d8.tar.gz
slx-admin-e9a04d4525da1fa2d0549c01e8d87167f36c24d8.tar.xz
slx-admin-e9a04d4525da1fa2d0549c01e8d87167f36c24d8.zip
default.css: Make disabled tabs unclickable
Diffstat (limited to 'style')
-rw-r--r--style/default.css8
1 files changed, 6 insertions, 2 deletions
diff --git a/style/default.css b/style/default.css
index 10cbd5ac..bdf81a6f 100644
--- a/style/default.css
+++ b/style/default.css
@@ -586,10 +586,14 @@ table.slx-ellipsis td {
white-space: nowrap;
}
-div.disabled {
+div.disabled, ul.nav > li.disabled {
cursor: not-allowed;
}
+ul.nav > li.disabled > a {
+ pointer-events: none;
+}
+
div.disabled input, div.disabled label, div.disabled .btn {
pointer-events: none;
}
@@ -604,4 +608,4 @@ div.disabled-hack {
margin: 0;
padding: 0;
display: inline-block;
-} \ No newline at end of file
+}