From 7a6b36725e4ee63af498001ddb1172e9b87628d5 Mon Sep 17 00:00:00 2001 From: Maxime Locqueville Date: Fri, 22 Jul 2016 15:52:29 +0200 Subject: [PATCH] handle --- src/styles/_dropdown.scss | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/styles/_dropdown.scss b/src/styles/_dropdown.scss index 5681114d..1c1737c9 100644 --- a/src/styles/_dropdown.scss +++ b/src/styles/_dropdown.scss @@ -107,7 +107,8 @@ $include-desc: true, $background-category-header: #FFFFFF, $highlight-opacity: .1, - $highlight-type: 'underline' + $highlight-type: 'underline', + $code-background: #EBEBEB ){ $header-size: 1em; @@ -138,7 +139,6 @@ right: 48px; } } - &.algolia-autocomplete-left .ds-dropdown-menu{ @include alignment-type(left); &:before { @@ -350,6 +350,19 @@ } } + code { + padding: 1px 5px; + font-size: 90%; + border: none; + color: #222222; + background-color: $code-background; + border-radius: 3px; + font-family: Menlo,Monaco,Consolas,"Courier New",monospace; + .algolia-docsearch-suggestion--highlight { + background: none; + } + } + // Rules to display categories and subcategories &.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header { display: block;