mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 23:59:12 +08:00
50 lines
1.0 KiB
Plaintext
50 lines
1.0 KiB
Plaintext
.algolia-autocomplete {
|
|
.ds-dropdown-menu {
|
|
border: none;
|
|
box-shadow: @box-shadow-base;
|
|
|
|
[class^='ds-dataset-'] {
|
|
background: @component-background;
|
|
border: none;
|
|
.algolia-docsearch-suggestion {
|
|
background: @component-background;
|
|
}
|
|
}
|
|
|
|
&::before {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.algolia-docsearch-suggestion--title {
|
|
color: @site-text-color;
|
|
}
|
|
|
|
.algolia-docsearch-suggestion--highlight {
|
|
color: @primary-color;
|
|
}
|
|
}
|
|
|
|
[data-theme='dark'] {
|
|
.ds-dropdown-menu {
|
|
[class^='ds-dataset-'] {
|
|
background: #1f1f1f;
|
|
.algolia-docsearch-suggestion {
|
|
background: #1f1f1f;
|
|
}
|
|
}
|
|
}
|
|
.algolia-autocomplete {
|
|
.algolia-docsearch-suggestion--category-header {
|
|
color: rgba(255, 255, 255, 0.65);
|
|
border-bottom: 1px solid #303030;
|
|
}
|
|
.algolia-docsearch-suggestion--subcategory-column::before {
|
|
background: #303030;
|
|
}
|
|
.algolia-docsearch-suggestion--content::before {
|
|
background: #303030;
|
|
}
|
|
}
|
|
}
|