Skip to content

Commit aeaa6ba

Browse files
Tweaking style
1 parent b972501 commit aeaa6ba

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

docs/welcome.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,3 @@ To report a bug, open an issue on [GitHub](https://github.com/AvaloniaUI/Avaloni
8585
- [Supported platforms](supported-platforms)
8686
- [Samples and tutorials](samples-tutorials/index.md)
8787
- [Avalonia GitHub repository](https://github.com/AvaloniaUI/Avalonia)
88-
89-
<XpfAd/>

src/styles/docsearch.scss

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ html[data-theme='dark'] {
8787
padding: 0 0.75rem;
8888
height: var(--docsearch-searchbox-height);
8989
background: var(--docsearch-searchbox-background);
90-
border: 1px solid var(--color-gray-300);
90+
border: none;
9191
border-radius: 0.5rem;
9292
color: var(--docsearch-muted-color);
9393
font-family: var(--ifm-font-family-base);
@@ -103,13 +103,11 @@ html[data-theme='dark'] {
103103

104104
&:hover {
105105
background: var(--docsearch-searchbox-focus-background);
106-
border-color: var(--color-gray-400);
107106
box-shadow: var(--shadow-theme-xs);
108107
}
109108

110109
&:focus {
111110
outline: none;
112-
border-color: var(--color-brand-500);
113111
box-shadow: 0 0 0 3px rgba(0, 125, 249, 0.15);
114112
}
115113

@@ -158,11 +156,9 @@ html[data-theme='dark'] {
158156

159157
html[data-theme='dark'] .DocSearch-Button {
160158
background: var(--docsearch-searchbox-background);
161-
border-color: var(--docs-color-border);
162159

163160
&:hover {
164161
background: var(--docs-color-background-200);
165-
border-color: var(--color-gray-600);
166162
}
167163

168164
.DocSearch-Search-Icon {
@@ -233,11 +229,11 @@ html[data-theme='dark'] .DocSearch-Modal {
233229

234230
.DocSearch-SearchBar {
235231
padding: 1rem;
236-
border-bottom: 1px solid var(--color-gray-200);
232+
border-bottom: none;
237233
}
238234

239235
html[data-theme='dark'] .DocSearch-SearchBar {
240-
border-bottom-color: var(--docs-color-border);
236+
border-bottom: none;
241237
}
242238

243239
.DocSearch-Form {
@@ -677,6 +673,20 @@ html[data-theme='dark'] .DocSearch-Commands-Key {
677673
}
678674
}
679675

676+
// =============================================================================
677+
// AskAI Sidepanel Button
678+
// =============================================================================
679+
680+
.DocSearch-SidepanelButton.inline {
681+
border: none;
682+
}
683+
684+
.DocSearch-Sidepanel-Header {
685+
height: var(--ifm-navbar-height) !important;
686+
border-bottom: none !important;
687+
box-shadow: var(--ifm-navbar-shadow) !important;
688+
}
689+
680690
// =============================================================================
681691
// Navbar Container Adjustments
682692
// =============================================================================

0 commit comments

Comments
 (0)