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,11 +214,19 @@
} }
.CDB-NavSubmenu-item.is-selected .CDB-NavSubmenu-link { .CDB-NavSubmenu-item {
&.is-selected .CDB-NavSubmenu-link {
border-bottom: 2px solid $cMainLine; border-bottom: 2px solid $cMainLine;
color: $cMainText; color: $cMainText;
} }
&.is-disabled .CDB-NavSubmenu-link {
pointer-events: none;
color: $cHintText;
cursor: default;
}
}
.CDB-NavSubmenu-status { .CDB-NavSubmenu-status {
margin-left: 2px; margin-left: 2px;
} }