π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Styles fixes
Smaug673967300abfefd5
diff --git a/frontend/components/AppButton.vue b/frontend/components/AppButton.vueindex fc520e35..e481dcf9 100644--- a/frontend/components/AppButton.vue+++ b/frontend/components/AppButton.vue@@ -24,29 +24,29 @@ button {}}.primary {- background: var(--primary-color);+ background: $primary-color;color: white;&:hover {- background: var(--primary-color-500);+ background: $primary-dark;}}.secondary {- outline: 1px solid var(--primary-color);+ outline: 1px solid $primary-color;color: var(--font-color);&:hover {- outline: 1px solid var(--primary-color-500);+ outline: 1px solid $primary-dark;}}.success {background: $green;color: white;&:hover {- background: color.adjust($green, $lightness: -10%);+ background: $green-dark;}}.link {background: none;- color: var(--primary-color);+ color: $primary-color;&:hover {text-decoration: underline;}@@ -55,7 +55,7 @@ button {background: $red;color: white;&:hover {- background: color.adjust($red, $lightness: 10%);+ background: $red-dark;}}</style>diff --git a/frontend/components/BackToTop.vue b/frontend/components/BackToTop.vueindex 65b43d39..db2f8555 100644--- a/frontend/components/BackToTop.vue+++ b/frontend/components/BackToTop.vue@@ -24,14 +24,14 @@ onUnmounted(() => window.removeEventListener('scroll', onScroll));right: 2.5rem;width: 2rem;height: 1.2rem;- background-color: var(--primary-color);+ background-color: $primary-color;-webkit-mask: url('/svg/back-to-top.svg') no-repeat;mask: url('/svg/back-to-top.svg') no-repeat;z-index: 100;}.back-to-top:hover {- background-color: var(--primary-color-500);+ background-color: $primary-dark;}@media (max-width: 959px) {diff --git a/frontend/components/Sidebar/SidebarItem.vue b/frontend/components/Sidebar/SidebarItem.vueindex 133a440a..068e4dd0 100644--- a/frontend/components/Sidebar/SidebarItem.vue+++ b/frontend/components/Sidebar/SidebarItem.vue@@ -109,20 +109,20 @@ const drop = async (event: DragEvent) => {align-items: center;&:deep(svg) {- fill: var(--primary-color);+ fill: $primary-color;width: 19px;max-height: 21px;margin-right: 5px;path {- fill: var(--primary-color);+ fill: $primary-color;}}}}.drag-over {- border-bottom: 2px solid var(--primary-color);+ border-bottom: 2px solid $primary-color;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);}.nav {diff --git a/frontend/components/Sidebar/SidebarWorkspace.vue b/frontend/components/Sidebar/SidebarWorkspace.vueindex da1a3971..92096b99 100644--- a/frontend/components/Sidebar/SidebarWorkspace.vue+++ b/frontend/components/Sidebar/SidebarWorkspace.vue@@ -8,7 +8,7 @@fill-rule="evenodd"clip-rule="evenodd"d="M6 5C5.44772 5 5 5.44772 5 6V18C5 18.5523 5.44772 19 6 19H13V14C13 13.4477 13.4477 13 14 13H19V6C19 5.44772 18.5523 5 18 5H6ZM17.5858 15H15V17.5858L17.5858 15ZM3 6C3 4.34315 4.34315 3 6 3H18C19.6569 3 21 4.34315 21 6V14C21 14.2652 20.8946 14.5196 20.7071 14.7071L14.7071 20.7071C14.5196 20.8946 14.2652 21 14 21H6C4.34315 21 3 19.6569 3 18V6Z"- fill="#000000"+ style="fill: var(--font-color)"></path></g></svg>diff --git a/frontend/components/Sidebar/SidebarWorkspaces.vue b/frontend/components/Sidebar/SidebarWorkspaces.vueindex e650eea0..ce7ae710 100644--- a/frontend/components/Sidebar/SidebarWorkspaces.vue+++ b/frontend/components/Sidebar/SidebarWorkspaces.vue@@ -58,13 +58,13 @@ onBeforeUnmount(() => document.removeEventListener('click', handleClickOutside)).dropdown-selected.open {border-color: var(--selection-color);- box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);+ box-shadow: 0 0 5px var(--border-color);}.dropdown-arrow {width: 8px;height: 8px;- border: solid #333;+ border: solid var(--font-color);border-width: 0 2px 2px 0;padding: 4px;transform: rotate(-45deg);diff --git a/frontend/pages/dashboard/categories/index.vue b/frontend/pages/dashboard/categories/index.vueindex 32769e4d..97c9330a 100644--- a/frontend/pages/dashboard/categories/index.vue+++ b/frontend/pages/dashboard/categories/index.vue@@ -34,7 +34,7 @@.add-category-btn {background: none;- color: var(--primary-color);+ color: $primary-color;cursor: pointer;font-size: 1.1em;margin-top: 20px;diff --git a/frontend/pages/dashboard/cdn.vue b/frontend/pages/dashboard/cdn.vueindex 176cad6d..b7620258 100644--- a/frontend/pages/dashboard/cdn.vue+++ b/frontend/pages/dashboard/cdn.vue@@ -156,7 +156,7 @@ const deleteRessource = async (id: string) => {.loading-spinner {border: 5px solid #f3f3f3;- border-top: 5px solid var(--primary-color);+ border-top: 5px solid $primary-color;border-radius: 50%;width: 50px;height: 50px;diff --git a/frontend/pages/dashboard/docs/_components/DocumentCardFooter.vue b/frontend/pages/dashboard/docs/_components/DocumentCardFooter.vueindex 6755e009..75d79318 100644--- a/frontend/pages/dashboard/docs/_components/DocumentCardFooter.vue+++ b/frontend/pages/dashboard/docs/_components/DocumentCardFooter.vue@@ -58,7 +58,7 @@ footer {}&:hover {- border: 1px solid var(--primary-color);+ border: 1px solid $primary-color;}}diff --git a/frontend/pages/dashboard/settings/_views/backups.vue b/frontend/pages/dashboard/settings/_views/backups.vueindex d52a7cc8..63789131 100644--- a/frontend/pages/dashboard/settings/_views/backups.vue+++ b/frontend/pages/dashboard/settings/_views/backups.vue@@ -46,7 +46,7 @@ watchEffect(() => (currentPage.value = route.query.p || 'profile'));}.loading-spinner {border: 5px solid #f3f3f3;- border-top: 5px solid var(--primary-color);+ border-top: 5px solid $primary-color;border-radius: 50%;width: 50px;height: 50px;diff --git a/frontend/pages/dashboard/settings/_views/preferences.vue b/frontend/pages/dashboard/settings/_views/preferences.vueindex a66ebcdc..1fb6b083 100644--- a/frontend/pages/dashboard/settings/_views/preferences.vue+++ b/frontend/pages/dashboard/settings/_views/preferences.vue@@ -64,7 +64,7 @@ const toggleOption = (index: number) => {transition: background-color 0.3s ease;&.active {- background-color: var(--primary-color);+ background-color: $primary-color;}.toggle-slider {diff --git a/frontend/pages/index.vue b/frontend/pages/index.vueindex b20a2e4e..017d15b5 100644--- a/frontend/pages/index.vue+++ b/frontend/pages/index.vue@@ -178,7 +178,7 @@ h3 {}.get-started {- background: var(--primary-color);+ background: $primary-color;color: #fff;}diff --git a/frontend/pages/login.vue b/frontend/pages/login.vueindex 3d8f3ceb..4d89293f 100644--- a/frontend/pages/login.vue+++ b/frontend/pages/login.vue@@ -123,7 +123,7 @@ async function connect(username: string, password: string) {background-color: $primary-300;color: white;&:hover {- background: var(--primary-color-500);+ background: $primary-dark;transform: none;}}diff --git a/frontend/pages/signup.vue b/frontend/pages/signup.vueindex 6dff464b..2ccc42ef 100644--- a/frontend/pages/signup.vue+++ b/frontend/pages/signup.vue@@ -176,7 +176,7 @@ async function createAccount(username: string, email: string, password: string)color: white;&:hover {- background: var(--primary-color-500);+ background: $primary-dark;transform: none;}}diff --git a/frontend/styles/_variables.scss b/frontend/styles/_variables.scssindex f6f9971c..22ed851c 100644--- a/frontend/styles/_variables.scss+++ b/frontend/styles/_variables.scss@@ -1,14 +1,17 @@@use "sass:color";$blue: #007aff;+$dark-blue: color.adjust($blue, $lightness: -10%);$indigo: #6610f2;$purple: #6f42c1;$pink: #ff0e6a;$red: #dc3545;+$red-dark: color.adjust($red, $lightness: -10%);$white: white;$orange: #fd7e14;$yellow: #ffc107;$green: #009879;+$green-dark: color.adjust($green, $lightness: -10%);$grey: #ffffffd9;$black: #27323A;@@ -24,11 +27,12 @@ $monospace-font: monospace;// Transitions$transition-duration: 0.3s;-:root {- --primary-color: #007aff;- --primary-color-300: color.adjust(#007aff, $lightness: -10%);- --primary-color-500: color.adjust(#007aff, $lightness: 10%);+$primary-color: #007aff;+$primary-light: color.adjust(#007aff, $lightness: 10%);+$primary-dark: color.adjust(#007aff, $lightness: -10%);++:root {--bg-color: #fff;--bg-contrast: #F1F6FD;@@ -37,7 +41,8 @@ $transition-duration: 0.3s;--font-color: #334155;--font-color-dark: #333;--font-color-light: rgb(100, 116, 139);- --border-color: var(--border-color);+ --border-color: rgba(0, 0, 0, 0.1);+// COLORS \\--grey: #666;--grey-bg: rgb(240, 240, 240);@@ -61,8 +66,8 @@ $transition-duration: 0.3s;}.dark-mode {- --bg-color: #252A34;- --bg-contrast: #333a44;+ --bg-color: #333a44;+ --bg-contrast: #3d4550;--bg-contrast-2: #4e545e;--selection-color: #4a90e2;--font-color: #e5e5e5;@@ -98,20 +103,21 @@ $transition-duration: 0.3s;--bg-contrast-2: #ECECEC;--font-color: #111;// COLORS \\+ --grey: #666;+ --grey-bg: rgb(240, 240, 240);--blue: #007aff;- --blue-bg: rgba(0, 123, 255, 0.2);- --blue-border: rgba(0, 123, 255, 0.25);+ --blue-bg: #cce0ff;+ --blue-border: rgba(0, 123, 255, 0.3);--green: #009879;- --green-bg: rgba(40, 167, 69, 0.2);- --green-border: rgba(40, 167, 69, 0.25);- --red: #dc3545;- --red-bg: rgba(220, 53, 69, 0.2);- --red-border: rgba(220, 53, 69, 0.25);- --yellow: #ffc107;- --yellow-bg: rgba(255, 193, 7, 0.2);- --yellow-border: rgba(255, 193, 7, 0.25);- --turquoise: rgb(1, 177, 150);- --turquoise-bg: rgba(1, 177, 150, 0.2);- --turquoise-border: rgba(1, 177, 150, 0.25);- --border-color: rgba(0, 0, 0, 0.5);+ --green-bg: rgba(40, 167, 69, 0.15);+ --green-border: rgba(40, 167, 69, 0.3);+ --red: #FF204E;+ --red-bg: rgba(220, 53, 69, 0.15);+ --red-border: rgba(220, 53, 69, 0.3);+ --yellow: #F97300;+ --yellow-bg: rgba(255, 193, 7, 0.15);+ --yellow-border: rgba(255, 193, 7, 0.3);+ --turquoise: #00ADB5;+ --turquoise-bg: rgba(23, 162, 184, 0.2);+ --turquoise-border: rgba(23, 162, 184, 0.25);}\ No newline at end of filediff --git a/frontend/styles/main.scss b/frontend/styles/main.scssindex b7b92122..2022d995 100644--- a/frontend/styles/main.scss+++ b/frontend/styles/main.scss@@ -85,6 +85,9 @@ form {}@media print {+ :root {+ @include print-theme;+ }header,footer,diff --git a/frontend/styles/theme.scss b/frontend/styles/theme.scssindex 4379bc87..26a0bffc 100644--- a/frontend/styles/theme.scss+++ b/frontend/styles/theme.scss@@ -11,7 +11,7 @@ a {}blockquote {- border-left: 4px solid var(--primary-color);+ border-left: 4px solid $primary-color;padding: 0 15px;> :first-child {