mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
more algolia design tweaks
This commit is contained in:
@@ -92,12 +92,33 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 0 !important;
|
min-width: 0 !important;
|
||||||
max-width: none !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);
|
box-shadow: 0 .5rem 1rem rgba(0,0,0,.175);
|
||||||
|
|
||||||
// Caret
|
// Caret
|
||||||
&::before {
|
&::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
|
// Section header
|
||||||
@@ -120,11 +141,22 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ds-suggestion {
|
.ds-suggestion {
|
||||||
|
&:not(:first-child) {
|
||||||
|
.algolia-docsearch-suggestion--category-header {
|
||||||
|
margin-top: .5rem !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.algolia-docsearch-suggestion--subcategory-column {
|
.algolia-docsearch-suggestion--subcategory-column {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.algolia-docsearch-suggestion--title {
|
||||||
|
font-size: .875rem !important;
|
||||||
|
font-weight: 400 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.algolia-docsearch-footer {
|
.algolia-docsearch-footer {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user