mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
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:
parent
4a498852dc
commit
c145ed69b4
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue