diff options
| author | Mark Otto <[email protected]> | 2017-05-28 21:21:50 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-05-28 21:21:50 -0700 |
| commit | 66011fb74c360965b73fd2675f9098aa3ef72adb (patch) | |
| tree | da1a560e8594beb5df16b1cecd51e9be457698da /docs | |
| parent | 69b5178c0acb52d1159dbbe5fdfefd535571dde1 (diff) | |
| download | bootstrap-66011fb74c360965b73fd2675f9098aa3ef72adb.tar.xz bootstrap-66011fb74c360965b73fd2675f9098aa3ef72adb.zip | |
more algolia design tweaks
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/scss/_sidebar.scss | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/docs/assets/scss/_sidebar.scss b/docs/assets/scss/_sidebar.scss index 234f58e7b..4c2c6a7a1 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; } |
