2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

add docsearch

This commit is contained in:
Maxime Locqueville
2017-05-28 18:50:53 +02:00
committed by Mark Otto
parent 10ca9c6d5a
commit c709ce19a5
3 changed files with 13 additions and 38 deletions
+1 -29
View File
@@ -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;
}