From 4b63aebd19cde1621380afa7ba32bc40d6b1dbda Mon Sep 17 00:00:00 2001 From: rubenmoya Date: Tue, 9 Jan 2018 09:19:08 +0100 Subject: [PATCH] Add disabled state to NavSubmenu-item --- src/scss/cdb-components/_menu.scss | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/scss/cdb-components/_menu.scss b/src/scss/cdb-components/_menu.scss index ba018c0..7a4b112 100644 --- a/src/scss/cdb-components/_menu.scss +++ b/src/scss/cdb-components/_menu.scss @@ -214,9 +214,17 @@ } -.CDB-NavSubmenu-item.is-selected .CDB-NavSubmenu-link { - border-bottom: 2px solid $cMainLine; - color: $cMainText; +.CDB-NavSubmenu-item { + &.is-selected .CDB-NavSubmenu-link { + border-bottom: 2px solid $cMainLine; + color: $cMainText; + } + + &.is-disabled .CDB-NavSubmenu-link { + pointer-events: none; + color: $cHintText; + cursor: default; + } } .CDB-NavSubmenu-status {