From: Mark Otto Date: Mon, 29 May 2017 04:21:50 +0000 (-0700) Subject: more algolia design tweaks X-Git-Tag: v4.0.0-beta~187^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66011fb74c360965b73fd2675f9098aa3ef72adb;p=thirdparty%2Fbootstrap.git more algolia design tweaks --- diff --git a/docs/assets/scss/_sidebar.scss b/docs/assets/scss/_sidebar.scss index 234f58e7bc..4c2c6a7a13 100644 --- a/docs/assets/scss/_sidebar.scss +++ b/docs/assets/scss/_sidebar.scss @@ -92,14 +92,35 @@ width: 100%; min-width: 0 !important; max-width: none !important; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0,0,0,.1); box-shadow: 0 .5rem 1rem rgba(0,0,0,.175); // Caret &::before { - left: 1rem !important; + display: none !important; + } + + [class^=ds-dataset-] { + background-color: transparent !important; + border: 0 !important; } } + .algolia-docsearch-suggestion--category-header { + padding: .125rem 0 !important; + margin-top: 0 !important; + font-size: .75rem !important; + font-weight: 500 !important; + color: #767676 !important; + border-bottom: 0 !important; + } + + .algolia-docsearch-suggestion--wrapper { + padding-top: 0 !important; + } + // Section header .algolia-docsearch-suggestion--subcategory-column { float: none !important; @@ -120,11 +141,22 @@ } .ds-suggestion { + &:not(:first-child) { + .algolia-docsearch-suggestion--category-header { + margin-top: .5rem !important; + } + } + .algolia-docsearch-suggestion--subcategory-column { display: none !important; } } + .algolia-docsearch-suggestion--title { + font-size: .875rem !important; + font-weight: 400 !important; + } + .algolia-docsearch-footer { display: none !important; }