2023-10-12 09:58:41 +00:00
|
|
|
.DocSearch-Button {
|
|
|
|
border-radius: var(--border-radius);
|
2023-10-13 08:20:56 +00:00
|
|
|
border: 1px solid var(--surface-border);
|
|
|
|
height: 2rem;
|
|
|
|
background-color: var(--surface-card);
|
2023-10-12 09:58:41 +00:00
|
|
|
margin: 0;
|
2023-10-13 22:09:30 +00:00
|
|
|
transition: all .3s;
|
2023-10-13 08:20:56 +00:00
|
|
|
padding: 0 .5rem;
|
2023-10-13 22:09:30 +00:00
|
|
|
@include focus-visible();
|
2023-10-12 09:58:41 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var(--primary-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var(--primary-color);
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.DocSearch-Search-Icon {
|
2023-10-13 08:20:56 +00:00
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
2023-10-12 09:58:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.DocSearch-Button-Keys {
|
|
|
|
overflow: hidden;
|
|
|
|
min-width: auto;
|
2023-10-13 21:28:14 +00:00
|
|
|
height: auto;
|
2023-10-13 08:20:56 +00:00
|
|
|
background: transparent;
|
2023-10-12 09:58:41 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: auto;
|
2023-10-13 21:28:14 +00:00
|
|
|
padding: 0;
|
2023-10-12 09:58:41 +00:00
|
|
|
gap: 2px;
|
|
|
|
|
|
|
|
.DocSearch-Button-Key {
|
|
|
|
background: transparent;
|
|
|
|
display: flex;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
top: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
2023-10-13 21:28:14 +00:00
|
|
|
font-family: var(--font-family);
|
2023-10-12 09:58:41 +00:00
|
|
|
|
|
|
|
&:first-child {
|
2023-10-13 21:28:14 +00:00
|
|
|
font-size: 0.75rem;
|
2023-10-13 08:20:56 +00:00
|
|
|
line-height: normal;
|
2023-10-12 09:58:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
justify-content: start;
|
|
|
|
align-items: center;
|
2023-10-13 21:28:14 +00:00
|
|
|
font-size: 0.75rem;
|
2023-10-12 09:58:41 +00:00
|
|
|
position: relative;
|
2023-10-13 21:28:14 +00:00
|
|
|
|
2023-10-12 09:58:41 +00:00
|
|
|
&::before {
|
|
|
|
content: "\e90d";
|
|
|
|
display: flex;
|
|
|
|
color: var(--text-color);
|
|
|
|
font-family: "primeicons";
|
|
|
|
font-size: .4rem;
|
|
|
|
opacity: .7;
|
|
|
|
margin-right: 2px;
|
|
|
|
height: 13.5px;
|
|
|
|
align-items: center;
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.DocSearch-Container {
|
|
|
|
z-index: 1101;
|
|
|
|
}
|
|
|
|
|
|
|
|
.DocSearch-Modal {
|
|
|
|
border: 1px solid var(--surface-border);
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.DocSearch-Footer {
|
|
|
|
box-shadow: none;
|
|
|
|
border-top: 1px solid var(--surface-border);
|
|
|
|
background-color: var(--surface-overlay);
|
|
|
|
}
|
|
|
|
|
|
|
|
.DocSearch-Form {
|
|
|
|
background: var(--surface-card);
|
|
|
|
box-shadow: none;
|
|
|
|
border: 1px solid var(--surface-border);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
transition: border-color .3s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var(--primary-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.DocSearch-MagnifierLabel, .DocSearch-Reset {
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.DocSearch-Hit {
|
|
|
|
border-bottom: 1px solid var(--surface-border);
|
|
|
|
padding-bottom: 0;
|
|
|
|
margin-bottom: .25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.DocSearch-Hit-source {
|
|
|
|
color: var(--primary-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.DocSearch-Logo .cls-1, .DocSearch-Logo .cls-2 {
|
|
|
|
fill: var(--primary-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.DocSearch-Prefill {
|
|
|
|
color: var(--primary-color);
|
|
|
|
}
|
|
|
|
|
2023-10-13 08:20:56 +00:00
|
|
|
.DocSearch-Button-Placeholder {
|
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: .875rem;
|
|
|
|
}
|
|
|
|
|
2023-10-12 09:58:41 +00:00
|
|
|
:root {
|
|
|
|
--docsearch-searchbox-focus-background: var(--surface-card);
|
|
|
|
--docsearch-text-color: var(--text-color);
|
|
|
|
--docsearch-muted-color: var(--text-color);
|
|
|
|
--docsearch-searchbox-background: var(--surface-card);
|
|
|
|
--docsearch-text-color: var(--text-color);
|
|
|
|
--docsearch-modal-background: var(--surface-overlay);
|
|
|
|
--docsearch-key-gradient: var(--surface-ground);
|
|
|
|
--docsearch-key-shadow: none;
|
|
|
|
--docsearch-container-background: var(--maskbg);
|
|
|
|
--docsearch-hit-background: var(--surface-overlay);
|
|
|
|
--docsearch-hit-shadow: none;
|
|
|
|
--docsearch-spacing: 1rem;
|
|
|
|
--docsearch-hit-color: var(--text-color);
|
|
|
|
--docsearch-highlight-color: var(--primary-color);
|
|
|
|
--docsearch-hit-active-color: var(--primary-color-text);
|
|
|
|
}
|
|
|
|
|