From e9a04d4525da1fa2d0549c01e8d87167f36c24d8 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 5 Mar 2018 15:39:34 +0100 Subject: default.css: Make disabled tabs unclickable --- style/default.css | 8 ++++++-- 1 file 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 +} -- cgit v1.2.3-55-g7522