Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaug6739 committed Mar 31, 2024
1 parent e68f817 commit d19796b
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 27 deletions.
4 changes: 1 addition & 3 deletions @alexandrie/styles/src/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
Expand Down
4 changes: 3 additions & 1 deletion @alexandrie/styles/src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ body,
}

header,
footer {
footer,
nav,
aside {
display: none !important;
}

Expand Down
1 change: 0 additions & 1 deletion dashboard/components/sidebar/Resizable.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<template>

<nav :class="{ open: isOpened }">
<div :class="['sidebar', isResizing ? 'no-select' : '']">
<div :style="{ width: panewidthCSS }">
Expand Down
2 changes: 0 additions & 2 deletions dashboard/components/sidebar/Sidebar.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<template>

<Resizable class="no-print">
<div class="sidebar-content">
<section class="header">
Expand All @@ -12,7 +11,6 @@
</section>
</div>
</Resizable>

</template>

<script setup lang="ts">
Expand Down
1 change: 0 additions & 1 deletion dashboard/pages/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ async function connect(username: string, password: string) {
display: flex;
flex-direction: column;
align-items: center;
font-family: $internal-font;
}
.header {
Expand Down
6 changes: 0 additions & 6 deletions frontend/components/sidebar/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,4 @@ const menuItems = computed((): MenuItem[] => {
display: none !important;
}
}
@media print {
.sidebar {
display: none !important;
}
}
</style>
14 changes: 1 addition & 13 deletions frontend/pages/docs/[category]/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -50,16 +50,4 @@ const previous = computed(() => doc_store.getPrevious(article.value));
width: 400px;
}
}
@media print {
.toc {
display: none;
}
.footer {
display: none;
}
}
</style>

0 comments on commit d19796b

Please sign in to comment.