Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Improve sidebar style

Smaug67397a87d14dad80
diff --git a/frontend/app/components/Sidebar/Dock.vue b/frontend/app/components/Sidebar/Dock.vue
index ec0cb41c..114f6073 100644
--- a/frontend/app/components/Sidebar/Dock.vue
+++ b/frontend/app/components/Sidebar/Dock.vue
@@ -54,9 +54,8 @@ a {
}
a.router-link-active {
- border-bottom: 2.5px solid var(--primary);
&:deep(svg) {
- fill: var(--opposite-color);
+ fill: var(--primary);
}
}
</style>
diff --git a/frontend/app/components/Sidebar/Sidebar.vue b/frontend/app/components/Sidebar/Sidebar.vue
index 8f5fea65..b0190a04 100644
--- a/frontend/app/components/Sidebar/Sidebar.vue
+++ b/frontend/app/components/Sidebar/Sidebar.vue
@@ -143,11 +143,10 @@ onBeforeUnmount(() => {
}
input {
height: 30px;
- margin: 2.5px 0;
- border-radius: 6px;
- border: 1px solid var(--border-color);
- width: 100%;
+ margin: 3px 0;
+ border: none;
outline: none;
+ background-color: var(--bg-contrast);
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%235b5967" height="24" viewBox="0 -960 960 960" width="22"><path d="M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"/></svg>');
background-repeat: no-repeat;
background-position: 5px;