Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
2113c8be
Unverified
Commit
2113c8be
authored
Jan 01, 2024
by
ThatOneCalculator
Browse files
fix searchbox
parent
6a92652c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
src/lib/components/layout/Sidebar.svelte
src/lib/components/layout/Sidebar.svelte
+1
-2
static/themes/rosepine-dawn.css
static/themes/rosepine-dawn.css
+7
-3
static/themes/rosepine.css
static/themes/rosepine.css
+6
-2
No files found.
src/lib/components/layout/Sidebar.svelte
View file @
2113c8be
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
{/if}
{/if}
<div class="px-2.5 mt-1 mb-2 flex justify-center space-x-2">
<div class="px-2.5 mt-1 mb-2 flex justify-center space-x-2">
<div class="flex w-full">
<div class="flex w-full"
id="chat-search"
>
<div class="self-center pl-3 py-2 rounded-l bg-gray-950">
<div class="self-center pl-3 py-2 rounded-l bg-gray-950">
<svg
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
...
@@ -149,7 +149,6 @@
...
@@ -149,7 +149,6 @@
</div>
</div>
<input
<input
id="chat-search-input"
class="w-full rounded-r py-1.5 pl-2.5 pr-4 text-sm text-gray-300 bg-gray-950 outline-none"
class="w-full rounded-r py-1.5 pl-2.5 pr-4 text-sm text-gray-300 bg-gray-950 outline-none"
placeholder="Search"
placeholder="Search"
bind:value={search}
bind:value={search}
...
...
static/themes/rosepine-dawn.css
View file @
2113c8be
...
@@ -35,13 +35,13 @@
...
@@ -35,13 +35,13 @@
}
}
.rose-pine-dawn
.text-white.bg-gray-100.dark
\
:text-gray-800
.dark
\
:bg-gray-600
.disabled.transition.rounded-lg.p-1.mr-0
\
.
5
.w-7.h-7.self-center
{
.rose-pine-dawn
.text-white.bg-gray-100.dark
\
:text-gray-800
.dark
\
:bg-gray-600
.disabled.transition.rounded-lg.p-1.mr-0
\
.
5
.w-7.h-7.self-center
{
background-color
:
#
6e6a86
;
background-color
:
#
cecacd
;
transition
:
background
0.2s
ease-out
linear
;
transition
:
background
-color
0.2s
ease-out
linear
;
}
}
.rose-pine-dawn
.bg-black.text-white.hover
\
:bg-gray-900
.dark
\
:bg-white
.dark
\
:text-black
.dark
\
:hover
\
:bg-gray-100
.transition.rounded-lg.p-1.mr-0
\
.
5
.w-7.h-7.self-center
{
.rose-pine-dawn
.bg-black.text-white.hover
\
:bg-gray-900
.dark
\
:bg-white
.dark
\
:text-black
.dark
\
:hover
\
:bg-gray-100
.transition.rounded-lg.p-1.mr-0
\
.
5
.w-7.h-7.self-center
{
background-color
:
#286983
;
background-color
:
#286983
;
transition
:
background
0.2s
ease-out
linear
;
transition
:
background
-color
0.2s
ease-out
linear
;
}
}
.rose-pine-dawn
.bg-black.text-white.hover
\
:bg-gray-900
.dark
\
:bg-white
.dark
\
:text-black
.dark
\
:hover
\
:bg-gray-100
.transition.rounded-lg.p-1.mr-0
\
.
5
.w-7.h-7.self-center
>*
{
.rose-pine-dawn
.bg-black.text-white.hover
\
:bg-gray-900
.dark
\
:bg-white
.dark
\
:text-black
.dark
\
:hover
\
:bg-gray-100
.transition.rounded-lg.p-1.mr-0
\
.
5
.w-7.h-7.self-center
>*
{
...
@@ -115,6 +115,10 @@
...
@@ -115,6 +115,10 @@
background-color
:
#56949f
;
background-color
:
#56949f
;
}
}
#chat-search
>
*
{
background-color
:
#dfdad9
!important
;
}
.rose-pine-dawn
.svelte-1ee93ns
{
.rose-pine-dawn
.svelte-1ee93ns
{
--primary
:
#b4637a
!important
;
--primary
:
#b4637a
!important
;
--secondary
:
#fffaf3
!important
;
--secondary
:
#fffaf3
!important
;
...
...
static/themes/rosepine.css
View file @
2113c8be
...
@@ -37,13 +37,13 @@
...
@@ -37,13 +37,13 @@
.rose-pine
.rose-pine
.text-white.bg-gray-100.dark
\
:text-gray-800
.dark
\
:bg-gray-600
.disabled.transition.rounded-lg.p-1.mr-0
\
.
5
.w-7.h-7.self-center
{
.text-white.bg-gray-100.dark
\
:text-gray-800
.dark
\
:bg-gray-600
.disabled.transition.rounded-lg.p-1.mr-0
\
.
5
.w-7.h-7.self-center
{
background-color
:
#6e6a86
;
background-color
:
#6e6a86
;
transition
:
background
0.2s
ease-out
linear
;
transition
:
background
-color
0.2s
ease-out
linear
;
}
}
.rose-pine
.rose-pine
.bg-black.text-white.hover
\
:bg-gray-900
.dark
\
:bg-white
.dark
\
:text-black
.dark
\
:hover
\
:bg-gray-100
.transition.rounded-lg.p-1.mr-0
\
.
5
.w-7.h-7.self-center
{
.bg-black.text-white.hover
\
:bg-gray-900
.dark
\
:bg-white
.dark
\
:text-black
.dark
\
:hover
\
:bg-gray-100
.transition.rounded-lg.p-1.mr-0
\
.
5
.w-7.h-7.self-center
{
background-color
:
#286983
;
background-color
:
#286983
;
transition
:
background
0.2s
ease-out
linear
;
transition
:
background
-color
0.2s
ease-out
linear
;
}
}
.rose-pine
.rose-pine
...
@@ -112,6 +112,10 @@
...
@@ -112,6 +112,10 @@
background-color
:
#31748f
;
background-color
:
#31748f
;
}
}
#chat-search
>
*
{
background-color
:
#403d52
!important
;
}
.rose-pine
.svelte-1ee93ns
{
.rose-pine
.svelte-1ee93ns
{
--primary
:
#eb6f92
!important
;
--primary
:
#eb6f92
!important
;
--secondary
:
#e0def4
!important
;
--secondary
:
#e0def4
!important
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment