From 0edbe85916393ab2a7ec6fc15378c7240b8724a4 Mon Sep 17 00:00:00 2001 From: rubenmoya Date: Fri, 17 Nov 2017 12:19:31 +0100 Subject: [PATCH 1/2] Add is-disabled state to CDB-NavMenu-item --- src/scss/cdb-components/_menu.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/scss/cdb-components/_menu.scss b/src/scss/cdb-components/_menu.scss index fb2533c..205e78b 100644 --- a/src/scss/cdb-components/_menu.scss +++ b/src/scss/cdb-components/_menu.scss @@ -166,6 +166,12 @@ color: $cMainText; } +.CDB-NavMenu-item.is-disabled .CDB-NavMenu-link { + pointer-events: none; + color: $cHintText; + cursor: disabled; +} + .CDB-NavSubmenu { border-bottom: 1px solid $cSecondaryLine; } From fa42ee7c36d194c9d11b95e751cbe49e3bf6cec7 Mon Sep 17 00:00:00 2001 From: rubenmoya Date: Fri, 17 Nov 2017 12:51:50 +0100 Subject: [PATCH 2/2] Fix incorrect cursor property --- src/scss/cdb-components/_menu.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scss/cdb-components/_menu.scss b/src/scss/cdb-components/_menu.scss index 205e78b..10b88bd 100644 --- a/src/scss/cdb-components/_menu.scss +++ b/src/scss/cdb-components/_menu.scss @@ -169,7 +169,7 @@ .CDB-NavMenu-item.is-disabled .CDB-NavMenu-link { pointer-events: none; color: $cHintText; - cursor: disabled; + cursor: default; } .CDB-NavSubmenu {