Merge pull request #187 from CartoDB/nav-submenu-disabled

Add disabled state to NavSubmenu-item
This commit is contained in:
Rubén Moya 2018-01-09 09:32:25 +01:00 committed by GitHub
commit 7fe3e06f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,9 +214,17 @@
}
.CDB-NavSubmenu-item.is-selected .CDB-NavSubmenu-link {
.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 {