Show highlighted text color for single "tab" items in navigation

This adds a simple CSS rule to highlight the navigation item to be highlighted as though it's active
without adding the underline.

The rule is very specific, which plays into the discussion in #7364. As a follow-up to this, we should
create a bread crumb element to add that auto-builds these kind of things so that plugin authors do not
need to even know the rules in place. This should help to keep all plugins consistent as well as simplify
the effort to make it work.
This commit is contained in:
Chris Earle 2016-06-06 13:06:18 -04:00
parent 4a498852dc
commit c145ed69b4

View file

@ -37,6 +37,10 @@
margin: 0 10px;
border-bottom: 2px solid transparent;
}
// singular tabs are treated as titles
> li:only-child > a {
color: @kibanaGray1;
}
// Active, hover state for the getTabs
> .active > a,
> .active > a:hover,