Merge pull request #187 from CartoDB/nav-submenu-disabled
Add disabled state to NavSubmenu-item
This commit is contained in:
commit
7fe3e06f3d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user