style: 调整 docsearch 样式

This commit is contained in:
就眠儀式 2022-03-08 14:33:42 +08:00
parent 2735294f11
commit 51a654b490

View File

@ -21,7 +21,7 @@ onMounted(() => {
.DocSearch-Button {
outline: none;
box-shadow:var(--docsearch-searchbox-shadow)
box-shadow: none;
}
.DocSearch-Button .DocSearch-Search-Icon,
@ -30,10 +30,10 @@ onMounted(() => {
}
:root {
--docsearch-primary-color: var(--global-primary-color) ;
--docsearch-searchbox-background: transparent;
--docsearch-searchbox-focus-background: transparent;
--docsearch-searchbox-background: rgba(255, 255, 255, 0.05);
--docsearch-searchbox-focus-background: rgba(255, 255, 255, 0.05);
--docsearch-logo-color: var(--global-primary-color);
--docsearch-container-background: rgba(0, 0, 0, 0.1);;
}
</style>