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.

Style fixes

Veauville Raphaeld19796b1b551
diff --git a/@alexandrie/styles/src/_variables.scss b/@alexandrie/styles/src/_variables.scss
index 8f7c5be3..10b60c2b 100644
--- a/@alexandrie/styles/src/_variables.scss
+++ b/@alexandrie/styles/src/_variables.scss
@@ -16,10 +16,8 @@ $primary-500: darken($primary-400, 10%);
$selection-color: $blue;
-@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");
-$internal-font: 'Roboto', sans-serif;
$external-font: 'Poppins', sans-serif;
$mono-font: ui-monospace 'Roboto Mono', monospace;
@@ -28,7 +26,7 @@ $transition-duration: 0.3s;
:root {
- --bg-color: #FFF;
+ --bg-color: #fff;
--bg-contrast: #F5F9FB;
--bg-contrast-2: #ECF2FF;
//--bg-color: #ECF2FF;
diff --git a/@alexandrie/styles/src/main.scss b/@alexandrie/styles/src/main.scss
index 54204fed..caeadca4 100644
--- a/@alexandrie/styles/src/main.scss
+++ b/@alexandrie/styles/src/main.scss
@@ -82,7 +82,9 @@ body,
}
header,
- footer {
+ footer,
+ nav,
+ aside {
display: none !important;
}
diff --git a/dashboard/components/sidebar/Resizable.vue b/dashboard/components/sidebar/Resizable.vue
index c9ae1b9c..0b7d6920 100644
--- a/dashboard/components/sidebar/Resizable.vue
+++ b/dashboard/components/sidebar/Resizable.vue
@@ -1,5 +1,4 @@
<template>
-
<nav :class="{ open: isOpened }">
<div :class="['sidebar', isResizing ? 'no-select' : '']">
<div :style="{ width: panewidthCSS }">
diff --git a/dashboard/components/sidebar/Sidebar.vue b/dashboard/components/sidebar/Sidebar.vue
index 9666ac38..cd37e772 100644
--- a/dashboard/components/sidebar/Sidebar.vue
+++ b/dashboard/components/sidebar/Sidebar.vue
@@ -1,5 +1,4 @@
<template>
-
<Resizable class="no-print">
<div class="sidebar-content">
<section class="header">
@@ -12,7 +11,6 @@
</section>
</div>
</Resizable>
-
</template>
<script setup lang="ts">
diff --git a/dashboard/pages/login.vue b/dashboard/pages/login.vue
index 908e98a5..1c71614e 100644
--- a/dashboard/pages/login.vue
+++ b/dashboard/pages/login.vue
@@ -77,7 +77,6 @@ async function connect(username: string, password: string) {
display: flex;
flex-direction: column;
align-items: center;
- font-family: $internal-font;
}
.header {
diff --git a/frontend/components/sidebar/Sidebar.vue b/frontend/components/sidebar/Sidebar.vue
index c1b157af..a3f25e32 100644
--- a/frontend/components/sidebar/Sidebar.vue
+++ b/frontend/components/sidebar/Sidebar.vue
@@ -157,10 +157,4 @@ const menuItems = computed((): MenuItem[] => {
display: none !important;
}
}
-
-@media print {
- .sidebar {
- display: none !important;
- }
-}
</style>
diff --git a/frontend/pages/docs/[category]/[id].vue b/frontend/pages/docs/[category]/[id].vue
index fde509e6..548a94da 100644
--- a/frontend/pages/docs/[category]/[id].vue
+++ b/frontend/pages/docs/[category]/[id].vue
@@ -4,7 +4,7 @@
<div style="width:100%;">
<article class="document-theme" style="max-width: 100%;overflow: auto;" ref="element"
v-html="article.content_html"></article>
- <DocumentFooter :document="article" :next="next" :previous="previous" class="footer" />
+ <DocumentFooter :document="article" :next="next" :previous="previous" />
</div>
<TableOfContent :element="element" class="toc" />
</div>
@@ -50,16 +50,4 @@ const previous = computed(() => doc_store.getPrevious(article.value));
width: 400px;
}
}
-
-@media print {
- .toc {
- display: none;
- }
-
- .footer {
- display: none;
- }
-
-
-}
</style>
\ No newline at end of file