1
0
Fork 0

docs(search): improved header highlighting + fixed padding

This commit is contained in:
Sylvain UTARD 2016-03-07 22:46:20 +01:00
parent be259f486c
commit d63211976f

View file

@ -56,14 +56,13 @@ $dropdown-min-width-large: 600px;
// Highlight
.algolia-docsearch-suggestion--highlight {
padding: 0;
color: #40ADDC;
padding: 0 2px;
background: rgba(#40ADDC,.1);
// Highlight the background in header
.algolia-docsearch-suggestion--category-header & {
color: inherit;
background: $color-highlight-header-background;
background: rgba(#40ADDC,.2);
}
}