2017-10-03 05:34:56 +02:00
|
|
|
// stylelint-disable declaration-no-important
|
|
|
|
|
2017-05-29 06:24:44 +02:00
|
|
|
// Docsearch overrides
|
|
|
|
//
|
|
|
|
// `!important` indicates overridden properties.
|
|
|
|
.algolia-autocomplete {
|
|
|
|
display: block !important;
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
// Menu container
|
|
|
|
.ds-dropdown-menu {
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0 !important;
|
|
|
|
max-width: none !important;
|
2017-05-31 19:13:39 +02:00
|
|
|
padding: .75rem 0 !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
background-color: #fff;
|
|
|
|
background-clip: padding-box;
|
2017-10-22 23:00:00 +02:00
|
|
|
border: 1px solid rgba(0, 0, 0, .1);
|
|
|
|
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .175);
|
2017-05-29 06:24:44 +02:00
|
|
|
|
2017-05-31 19:13:39 +02:00
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
width: 175%;
|
|
|
|
}
|
|
|
|
|
2017-05-29 06:24:44 +02:00
|
|
|
// Caret
|
|
|
|
&::before {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2017-10-03 05:34:56 +02:00
|
|
|
[class^="ds-dataset-"] {
|
2017-05-29 22:24:15 +02:00
|
|
|
padding: 0 !important;
|
|
|
|
overflow: visible !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
background-color: transparent !important;
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
2017-05-29 22:24:15 +02:00
|
|
|
|
|
|
|
.ds-suggestions {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-docsearch-suggestion {
|
|
|
|
padding: 0 !important;
|
|
|
|
overflow: visible !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-docsearch-suggestion--category-header {
|
2017-05-31 19:13:39 +02:00
|
|
|
padding: .125rem 1rem !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
margin-top: 0 !important;
|
2017-05-31 19:13:39 +02:00
|
|
|
font-size: .875rem !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
font-weight: 500 !important;
|
2017-05-31 19:13:39 +02:00
|
|
|
color: $bd-purple-bright !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
border-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-docsearch-suggestion--wrapper {
|
2017-05-30 20:01:23 +02:00
|
|
|
float: none !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
padding-top: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Section header
|
|
|
|
.algolia-docsearch-suggestion--subcategory-column {
|
|
|
|
float: none !important;
|
|
|
|
width: auto !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
text-align: left !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-docsearch-suggestion--content {
|
|
|
|
float: none !important;
|
2018-07-26 18:22:59 +02:00
|
|
|
width: 100% !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
padding: 0 !important;
|
|
|
|
|
|
|
|
// Vertical divider between column header and content
|
|
|
|
&::before {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ds-suggestion {
|
|
|
|
&:not(:first-child) {
|
|
|
|
.algolia-docsearch-suggestion--category-header {
|
2017-05-31 19:13:39 +02:00
|
|
|
padding-top: .75rem !important;
|
|
|
|
margin-top: .75rem !important;
|
2017-10-22 23:00:00 +02:00
|
|
|
border-top: 1px solid rgba(0, 0, 0, .1);
|
2017-05-29 06:24:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-docsearch-suggestion--subcategory-column {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-docsearch-suggestion--title {
|
2017-05-29 22:24:15 +02:00
|
|
|
display: block;
|
2017-05-31 19:13:39 +02:00
|
|
|
padding: .25rem 1rem !important;
|
|
|
|
margin-bottom: 0 !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
font-size: .875rem !important;
|
|
|
|
font-weight: 400 !important;
|
|
|
|
}
|
|
|
|
|
2017-05-31 19:13:39 +02:00
|
|
|
.algolia-docsearch-suggestion--text {
|
|
|
|
padding: 0 1rem .5rem !important;
|
|
|
|
margin-top: -.25rem;
|
|
|
|
font-size: .875rem !important;
|
2017-10-03 05:34:56 +02:00
|
|
|
font-weight: 400;
|
2017-05-31 19:13:39 +02:00
|
|
|
line-height: 1.25 !important;
|
|
|
|
}
|
|
|
|
|
2017-05-29 06:24:44 +02:00
|
|
|
.algolia-docsearch-footer {
|
2017-05-30 20:01:23 +02:00
|
|
|
float: none !important;
|
|
|
|
width: auto !important;
|
|
|
|
height: auto !important;
|
2017-05-31 19:13:39 +02:00
|
|
|
padding: .75rem 1rem 0;
|
|
|
|
font-size: .75rem !important;
|
2017-05-30 20:01:23 +02:00
|
|
|
line-height: 1 !important;
|
|
|
|
color: #767676 !important;
|
2017-10-22 23:00:00 +02:00
|
|
|
border-top: 1px solid rgba(0, 0, 0, .1);
|
2017-05-30 20:01:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-docsearch-footer--logo {
|
|
|
|
display: inline !important;
|
|
|
|
overflow: visible !important;
|
|
|
|
color: inherit !important;
|
|
|
|
text-indent: 0 !important;
|
|
|
|
background: none !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-docsearch-suggestion--highlight {
|
|
|
|
color: #5f2dab;
|
|
|
|
background-color: rgba(154, 132, 187, .12);
|
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight {
|
2017-10-22 23:00:00 +02:00
|
|
|
box-shadow: inset 0 -2px 0 0 rgba(95, 45, 171, .5) !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ds-suggestion.ds-cursor .algolia-docsearch-suggestion--content {
|
2017-10-22 23:00:00 +02:00
|
|
|
background-color: rgba(208, 189, 236, .15) !important;
|
2017-05-29 06:24:44 +02:00
|
|
|
}
|
|
|
|
}
|