aboutsummaryrefslogtreecommitdiff
path: root/docs/assets
diff options
context:
space:
mode:
authorMaxime Locqueville <[email protected]>2017-05-28 18:50:53 +0200
committerMark Otto <[email protected]>2017-05-28 16:15:08 -0700
commitc709ce19a5bebee1cd3f083b0e2d924eb251c729 (patch)
treeb3d0b3433b972f2464a32b412543a00f3d4a7786 /docs/assets
parent10ca9c6d5a74c66a3557afbd8dfb44122f46fd45 (diff)
downloadbootstrap-c709ce19a5bebee1cd3f083b0e2d924eb251c729.tar.xz
bootstrap-c709ce19a5bebee1cd3f083b0e2d924eb251c729.zip
add docsearch
Diffstat (limited to 'docs/assets')
-rw-r--r--docs/assets/scss/_sidebar.scss30
1 files changed, 1 insertions, 29 deletions
diff --git a/docs/assets/scss/_sidebar.scss b/docs/assets/scss/_sidebar.scss
index 2436e0763..e2465e805 100644
--- a/docs/assets/scss/_sidebar.scss
+++ b/docs/assets/scss/_sidebar.scss
@@ -64,39 +64,11 @@
}
.bd-search {
- position: relative;
+ position: relative; // To contain the Algolia search
padding-top: 1rem;
padding-bottom: 1rem;
}
-.bd-search-results {
- right: 0;
- display: block;
- padding: 0;
- overflow: hidden;
- font-size: .85rem;
-
- &:empty {
- display: none;
- }
-
- .dropdown-item {
- padding-right: .75rem;
- padding-left: .75rem;
-
- &:first-child { margin-top: .25rem; }
- &:last-child { margin-bottom: .25rem; }
- }
-
- .no-results {
- padding: .75rem 1rem;
- color: #7a7a7a;
- text-align: center;
- white-space: normal; // Undo .dropdown-item defaults
- }
-}
-
-
.bd-sidenav {
display: none;
}