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.

refactor: run stylelint

Smaug6739c24937896623
diff --git a/frontend/app/components/AppButton.vue b/frontend/app/components/AppButton.vue
index 588f2f11..30d946a5 100644
--- a/frontend/app/components/AppButton.vue
+++ b/frontend/app/components/AppButton.vue
@@ -13,12 +13,12 @@ const onClick = () => emit('click');
<style scoped lang="scss">
button {
display: inline-flex;
- align-items: center;
- gap: 0.5rem;
width: fit-content;
padding: 10px;
border-radius: 6px;
font-size: 0.9rem;
+ align-items: center;
+ gap: 0.5rem;
white-space: nowrap;
&:disabled {
@@ -39,6 +39,7 @@ button {
&:hover {
background: var(--primary-dark);
}
+
* {
fill: white !important;
}
diff --git a/frontend/app/components/AppHint.vue b/frontend/app/components/AppHint.vue
index be792876..9d6641a8 100644
--- a/frontend/app/components/AppHint.vue
+++ b/frontend/app/components/AppHint.vue
@@ -16,6 +16,7 @@ const show = ref(false);
display: inline-block;
margin-left: 0.25rem;
}
+
.icon {
display: flex;
width: 1rem;
diff --git a/frontend/app/components/AppTagInput.vue b/frontend/app/components/AppTagInput.vue
index 5b9b216d..98b9124c 100644
--- a/frontend/app/components/AppTagInput.vue
+++ b/frontend/app/components/AppTagInput.vue
@@ -134,12 +134,14 @@ function removeTag(tag: string) {
flex-direction: column;
gap: 6px;
}
+
.row {
display: flex;
+ align-items: baseline;
flex-direction: row;
gap: 12px;
- align-items: baseline;
}
+
.tags-input-wrapper {
position: relative;
}
@@ -150,16 +152,18 @@ function removeTag(tag: string) {
}
input {
- flex: 1;
min-width: 150px;
+ flex: 1;
&:focus {
border-color: var(--primary);
}
+
&.minimal {
- font-size: 12px;
padding: 6px 8px;
border: none;
+ font-size: 12px;
+
&:hover,
&:focus {
background: var(--bg-ui);
diff --git a/frontend/app/components/DataTable.vue b/frontend/app/components/DataTable.vue
index 4cf38dcc..5d492880 100644
--- a/frontend/app/components/DataTable.vue
+++ b/frontend/app/components/DataTable.vue
@@ -188,6 +188,7 @@ th {
&.align-center {
text-align: center;
}
+
text-transform: uppercase;
}
@@ -197,6 +198,7 @@ td {
&.align-right {
text-align: right;
padding-right: 10px;
+
> span {
justify-content: flex-end;
}
diff --git a/frontend/app/components/Icon.vue b/frontend/app/components/Icon.vue
index 02210e08..4637905f 100644
--- a/frontend/app/components/Icon.vue
+++ b/frontend/app/components/Icon.vue
@@ -39,6 +39,7 @@ const isUnicode = (str: string) => {
width: 15px;
height: 15px;
}
+
&.sm {
width: 18px;
height: 18px;
diff --git a/frontend/app/components/MarkdownEditor/Toolbar.vue b/frontend/app/components/MarkdownEditor/Toolbar.vue
index e755594d..650a513a 100644
--- a/frontend/app/components/MarkdownEditor/Toolbar.vue
+++ b/frontend/app/components/MarkdownEditor/Toolbar.vue
@@ -57,7 +57,7 @@
<div :class="['toolbar-divider', { 'no-mobile': mobileSimplifiedView }]" />
<!-- Voice & Category -->
- <div class="toolbar-group" style="flex: 1; flex-direction: row; align-items: center; gap: 4px">
+ <div class="toolbar-group" style=" align-items: center;flex: 1; flex-direction: row; gap: 4px">
<div class="group-buttons">
<VoiceRecognition :class="{ 'no-mobile': mobileSimplifiedView }" @transcription="handleTranscription" />
</div>
@@ -218,7 +218,6 @@ const actionTools: ToolItem[] = [
display: flex;
width: 100%;
padding: 6px 10px;
- margin-top: 8px;
border: 1px solid var(--border-color);
border-radius: 10px;
background: var(--bg-color);
@@ -227,6 +226,7 @@ const actionTools: ToolItem[] = [
align-items: center;
flex-wrap: wrap;
gap: 4px 6px;
+ margin-top: 8px;
overflow-x: clip;
user-select: none;
@@ -416,9 +416,9 @@ const actionTools: ToolItem[] = [
}
.category-select {
+ min-width: 110px;
border-radius: 6px;
background: var(--bg-color);
- min-width: 110px;
}
// Responsive adjustments
diff --git a/frontend/app/components/MarkdownSyntax.vue b/frontend/app/components/MarkdownSyntax.vue
index 9960e03b..e5dd07cd 100644
--- a/frontend/app/components/MarkdownSyntax.vue
+++ b/frontend/app/components/MarkdownSyntax.vue
@@ -243,7 +243,7 @@ This is a text with a note[^1] and another[^ref].
><a href="#fn-ref" title="Second footnote with text identifier">[ref]</a></sup
>.
</p>
- <section class="footnotes" style="margin-top: 1rem; padding-top: 0.5rem; border-top: 1px solid var(--border-color); font-size: 0.9rem">
+ <section class="footnotes" style=" font-size: 0.9rem; border-top: 1px solid var(--border-color);margin-top: 1rem; padding-top: 0.5rem">
<ol style="margin: 0; padding-left: 1.5rem">
<li>First footnote <a href="#fnref-1" class="footnote-backref">↩</a></li>
<li>Second footnote with text identifier <a href="#fnref-ref" class="footnote-backref">↩</a></li>
@@ -261,9 +261,9 @@ import compile from '~/helpers/markdown';
<style scoped lang="scss">
.markdown-guide {
+ max-width: 100%;
margin: auto;
line-height: 1.7;
- max-width: 100%;
}
.content {
@@ -331,6 +331,7 @@ code {
.content {
margin: 0.75rem 0.25rem;
}
+
.block-grid {
grid-template-columns: 1fr;
}
diff --git a/frontend/app/components/MediumView.vue b/frontend/app/components/MediumView.vue
index 365b0cee..6be7b21c 100644
--- a/frontend/app/components/MediumView.vue
+++ b/frontend/app/components/MediumView.vue
@@ -14,10 +14,10 @@ const transition = computed(() => (isResizing.value ? 'none' : 'padding-left 0.3
<style scoped>
main {
+ display: flex;
width: 100%;
height: 100%;
padding: 0 10px;
- display: flex;
flex-direction: column;
}
diff --git a/frontend/app/components/ModalManager.vue b/frontend/app/components/ModalManager.vue
index 2b86d552..c6065a54 100644
--- a/frontend/app/components/ModalManager.vue
+++ b/frontend/app/components/ModalManager.vue
@@ -96,14 +96,15 @@ onUnmounted(() => document.removeEventListener('keydown', handleKeydown));
inset: 0;
}
-@media screen and (max-width: 600px) {
+@media screen and (width <= 600px) {
.modal-container {
- width: 95%;
display: flex;
+ width: 95%;
+ padding: 12px 0;
flex-direction: column;
justify-content: center;
- padding: 12px 0;
}
+
.close-btn {
top: 0.5rem;
right: 0.5rem;
diff --git a/frontend/app/components/Node/ContainerView.vue b/frontend/app/components/Node/ContainerView.vue
index f7ebd8d0..e3b52619 100644
--- a/frontend/app/components/Node/ContainerView.vue
+++ b/frontend/app/components/Node/ContainerView.vue
@@ -194,6 +194,7 @@ h1 {
a {
position: relative;
}
+
a:hover > .hint-tooltip {
opacity: 1;
visibility: visible;
diff --git a/frontend/app/components/Node/Document/Header.vue b/frontend/app/components/Node/Document/Header.vue
index b82bc711..591edc67 100644
--- a/frontend/app/components/Node/Document/Header.vue
+++ b/frontend/app/components/Node/Document/Header.vue
@@ -52,7 +52,7 @@ watchEffect(() => {
<style lang="scss" scoped>
.header {
display: flex;
- padding: 1.2rem 1.2rem 0 1.2rem;
+ padding: 1.2rem 1.2rem 0;
border: 1px solid var(--border-color-light);
border-radius: 0.625rem;
background-color: var(--bg-contrast);
@@ -73,25 +73,30 @@ p {
align-items: flex-start;
justify-content: space-between;
margin-top: 6px;
+
.user {
display: flex;
+ min-width: 120px;
align-items: center;
gap: 12px;
- min-width: 120px;
}
}
+
.content {
display: flex;
justify-content: space-between;
+
.infos {
flex: 1;
margin-top: 10px;
}
}
+
.thumbnail {
display: none;
max-width: 30%;
}
+
.public {
margin-top: 30px;
}
@@ -118,8 +123,8 @@ h1 {
.tags {
display: flex;
- flex-wrap: wrap;
padding: 8px 0;
+ flex-wrap: wrap;
}
@media print, screen and (width >= 1024px) {
diff --git a/frontend/app/components/Node/Document/HeaderActionRow.vue b/frontend/app/components/Node/Document/HeaderActionRow.vue
index 6258373a..4b0c18ea 100644
--- a/frontend/app/components/Node/Document/HeaderActionRow.vue
+++ b/frontend/app/components/Node/Document/HeaderActionRow.vue
@@ -80,11 +80,13 @@ function exportMarkdown() {
<style lang="scss" scoped>
a {
position: relative;
+
&:hover .hint-tooltip {
opacity: 1;
visibility: visible;
}
}
+
.actions-row {
flex-wrap: wrap;
}
diff --git a/frontend/app/components/Node/Filter.vue b/frontend/app/components/Node/Filter.vue
index a2fac0e6..8d748fb9 100644
--- a/frontend/app/components/Node/Filter.vue
+++ b/frontend/app/components/Node/Filter.vue
@@ -117,6 +117,7 @@ onBeforeUnmount(() => {
.btn-icon {
position: relative;
+
&:hover > .hint-tooltip {
opacity: 1;
visibility: visible;
diff --git a/frontend/app/components/Node/TOC/Level.vue b/frontend/app/components/Node/TOC/Level.vue
index dba01170..336c0d5f 100644
--- a/frontend/app/components/Node/TOC/Level.vue
+++ b/frontend/app/components/Node/TOC/Level.vue
@@ -24,9 +24,9 @@ a {
li {
padding: 0;
+ font-size: 12px;
list-style: none;
margin-top: 2px;
- font-size: 12px;
}
ul {
diff --git a/frontend/app/components/Node/TOC/TOC.vue b/frontend/app/components/Node/TOC/TOC.vue
index 526c59d7..6f92aea0 100644
--- a/frontend/app/components/Node/TOC/TOC.vue
+++ b/frontend/app/components/Node/TOC/TOC.vue
@@ -115,8 +115,8 @@ const childs = computed(() => nodesTree.getChildren(props.doc?.id).filter(c => c
<style lang="scss" scoped>
h4 {
- color: var(--font-color-light);
font-size: 14px;
+ color: var(--font-color-light);
}
aside {
diff --git a/frontend/app/components/Node/Tree/Item.vue b/frontend/app/components/Node/Tree/Item.vue
index 52f6312f..80134f00 100644
--- a/frontend/app/components/Node/Tree/Item.vue
+++ b/frontend/app/components/Node/Tree/Item.vue
@@ -91,11 +91,11 @@ function toggleExpand() {
.node-row {
display: flex;
- align-items: center;
- gap: 0.5rem;
padding: 0.625rem 1rem;
transition: background-color 0.15s;
+ align-items: center;
border-left: 2px solid transparent;
+ gap: 0.5rem;
&:hover {
border-left-color: var(--primary);
@@ -104,17 +104,17 @@ function toggleExpand() {
.expand-btn {
display: flex;
- align-items: center;
- justify-content: center;
width: 20px;
height: 20px;
padding: 0;
border: none;
- background: none;
color: var(--font-color-light);
- cursor: pointer;
+ background: none;
transition: transform 0.2s;
+ align-items: center;
+ cursor: pointer;
flex-shrink: 0;
+ justify-content: center;
&.rotated {
transform: rotate(90deg);
@@ -132,21 +132,21 @@ function toggleExpand() {
.node-icon {
display: flex;
- align-items: center;
- justify-content: center;
width: 32px;
height: 32px;
border-radius: 8px;
+ align-items: center;
flex-shrink: 0;
+ justify-content: center;
}
.node-link {
display: flex;
- flex-direction: column;
- flex: 1;
min-width: 0;
- text-decoration: none;
+ flex: 1;
+ flex-direction: column;
gap: 2px;
+ text-decoration: none;
&:hover .node-name {
color: var(--primary);
@@ -157,50 +157,50 @@ function toggleExpand() {
font-size: 0.9375rem;
font-weight: 500;
color: var(--font-color-dark);
- white-space: nowrap;
+ transition: color 0.15s;
overflow: hidden;
text-overflow: ellipsis;
- transition: color 0.15s;
+ white-space: nowrap;
}
.node-description {
font-size: 0.8125rem;
color: var(--font-color-light);
- white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
}
.node-meta {
display: flex;
align-items: center;
- gap: 0.5rem;
flex-shrink: 0;
+ gap: 0.5rem;
}
.node-type {
+ padding: 2px 8px;
+ border-radius: 4px;
font-size: 0.6875rem;
font-weight: 500;
- text-transform: uppercase;
- letter-spacing: 0.5px;
color: var(--font-color-light);
- padding: 2px 8px;
background: var(--bg-contrast);
- border-radius: 4px;
+ letter-spacing: 0.5px;
+ text-transform: uppercase;
}
.children-count {
display: flex;
- align-items: center;
- justify-content: center;
min-width: 20px;
height: 20px;
+ padding: 0 6px;
+ border-radius: 10px;
font-size: 0.6875rem;
font-weight: 600;
color: var(--font-color);
background: var(--bg-contrast);
- border-radius: 10px;
- padding: 0 6px;
+ align-items: center;
+ justify-content: center;
}
.node-children {
@@ -217,17 +217,17 @@ function toggleExpand() {
.expand-enter-from,
.expand-leave-to {
- opacity: 0;
max-height: 0;
+ opacity: 0;
}
.expand-enter-to,
.expand-leave-from {
- opacity: 1;
max-height: 1000px;
+ opacity: 1;
}
-@media screen and (max-width: 600px) {
+@media screen and (width <= 600px) {
.node-description,
.node-type {
display: none;
diff --git a/frontend/app/components/Node/Tree/NodeTree.vue b/frontend/app/components/Node/Tree/NodeTree.vue
index acb1d90e..333f7d51 100644
--- a/frontend/app/components/Node/Tree/NodeTree.vue
+++ b/frontend/app/components/Node/Tree/NodeTree.vue
@@ -52,40 +52,40 @@ const totalCount = computed(() => props.nodes.length);
<style scoped lang="scss">
.tree {
- margin-top: 2rem;
border: 1px solid var(--border-color);
border-radius: 12px;
background: var(--bg-color);
+ margin-top: 2rem;
overflow: hidden;
}
.tree-header {
display: flex;
- align-items: center;
- justify-content: space-between;
padding: 1rem 1.25rem;
background: var(--bg-contrast);
+ align-items: center;
border-bottom: 1px solid var(--border-color);
+ justify-content: space-between;
h2 {
display: flex;
- align-items: center;
- gap: 0.5rem;
margin: 0;
+ border: none;
font-size: 1rem;
font-weight: 600;
color: var(--font-color-dark);
- border: none;
+ align-items: center;
+ gap: 0.5rem;
}
}
.item-count {
+ padding: 4px 10px;
+ border: 1px solid var(--border-color);
+ border-radius: 20px;
font-size: 0.75rem;
color: var(--font-color-light);
background: var(--bg-color);
- padding: 4px 10px;
- border-radius: 20px;
- border: 1px solid var(--border-color);
}
.tree-content {
@@ -94,11 +94,11 @@ const totalCount = computed(() => props.nodes.length);
.empty-state {
display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
padding: 3rem;
color: var(--font-color-light);
+ align-items: center;
+ flex-direction: column;
+ justify-content: center;
p {
margin: 0.5rem 0 0;
diff --git a/frontend/app/components/OIDCProviders.vue b/frontend/app/components/OIDCProviders.vue
index eb765c38..e126504f 100644
--- a/frontend/app/components/OIDCProviders.vue
+++ b/frontend/app/components/OIDCProviders.vue
@@ -38,15 +38,15 @@ onMounted(() => {
.divider {
display: flex;
align-items: center;
- margin-bottom: 1rem;
gap: 1rem;
+ margin-bottom: 1rem;
&::before,
&::after {
- content: '';
- flex: 1;
height: 1px;
background: var(--border-color);
+ content: '';
+ flex: 1;
}
span {
@@ -58,10 +58,10 @@ onMounted(() => {
.providers-grid {
display: grid;
- grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
- gap: 0.75rem;
max-width: 400px;
margin: 0 auto;
+ gap: 0.75rem;
+ grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
// When only 1 provider, center it with max-width
&:has(.provider-btn:only-child) {
@@ -71,24 +71,24 @@ onMounted(() => {
.provider-btn {
display: flex;
- align-items: center;
- justify-content: center;
- gap: 0.6rem;
padding: 0.75rem 1rem;
border: 1px solid var(--border-color);
border-radius: 10px;
- background: var(--bg-color);
font-size: 0.9rem;
font-weight: 500;
color: var(--font-color);
- cursor: pointer;
+ background: var(--bg-color);
transition: all 0.2s ease;
+ align-items: center;
+ cursor: pointer;
+ gap: 0.6rem;
+ justify-content: center;
&:hover:not(:disabled) {
border-color: var(--provider-color);
background: color-mix(in srgb, var(--provider-color) 8%, transparent);
- transform: translateY(-1px);
box-shadow: 0 4px 12px rgb(0 0 0 / 8%);
+ transform: translateY(-1px);
}
&:active:not(:disabled) {
@@ -103,11 +103,11 @@ onMounted(() => {
.provider-icon {
display: flex;
- align-items: center;
- justify-content: center;
width: 20px;
height: 20px;
+ align-items: center;
flex-shrink: 0;
+ justify-content: center;
:deep(svg) {
width: 100%;
@@ -116,8 +116,8 @@ onMounted(() => {
}
.provider-label {
- white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
}
</style>
diff --git a/frontend/app/components/PDFViewer.vue b/frontend/app/components/PDFViewer.vue
index bb5902ee..e5ecbd28 100644
--- a/frontend/app/components/PDFViewer.vue
+++ b/frontend/app/components/PDFViewer.vue
@@ -256,20 +256,21 @@ onBeforeUnmount(() => {
<style scoped lang="scss">
.pdf-container {
- height: 100%;
width: 100%;
+ height: 100%;
overflow-y: auto;
}
.pdf-error {
display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
height: 100%;
- gap: 12px;
color: var(--red-dark);
+ align-items: center;
+ flex-direction: column;
+ gap: 12px;
+ justify-content: center;
}
+
.pdf-page-wrapper {
position: relative;
margin: 0 auto 16px;
@@ -283,12 +284,12 @@ onBeforeUnmount(() => {
.pdf-page-placeholder {
position: absolute;
- inset: 0;
display: flex;
- align-items: center;
- justify-content: center;
- color: #999;
font-size: 14px;
+ color: #999;
background: #f5f5f5;
+ align-items: center;
+ inset: 0;
+ justify-content: center;
}
</style>
diff --git a/frontend/app/components/SessionCard.vue b/frontend/app/components/SessionCard.vue
index 3a40098c..12edbdc4 100644
--- a/frontend/app/components/SessionCard.vue
+++ b/frontend/app/components/SessionCard.vue
@@ -94,13 +94,13 @@ const deviceType = computed(() => {
<style scoped lang="scss">
.session-card {
display: flex;
- flex-direction: column;
- gap: 1rem;
padding: 1rem 1.25rem;
border: 1px solid var(--border-color);
border-radius: 12px;
background: var(--bg-color);
transition: all 0.2s ease;
+ flex-direction: column;
+ gap: 1rem;
&:hover {
border-color: var(--border-color-accent);
@@ -117,8 +117,8 @@ const deviceType = computed(() => {
}
&.inactive {
- opacity: 0.7;
background: var(--bg-contrast);
+ opacity: 0.7;
}
}
@@ -130,14 +130,14 @@ const deviceType = computed(() => {
.device-icon {
display: flex;
- align-items: center;
- justify-content: center;
width: 44px;
height: 44px;
border-radius: 10px;
- background: var(--bg-contrast-2);
color: var(--font-color);
+ background: var(--bg-contrast-2);
+ align-items: center;
flex-shrink: 0;
+ justify-content: center;
svg {
width: 22px;
@@ -145,30 +145,30 @@ const deviceType = computed(() => {
}
&.mobile {
- background: var(--purple-bg);
color: var(--purple);
+ background: var(--purple-bg);
}
&.desktop {
- background: var(--blue-bg);
color: var(--blue);
+ background: var(--blue-bg);
}
}
.session-info {
display: flex;
+ min-width: 0;
+ flex: 1;
flex-direction: column;
gap: 0.35rem;
- flex: 1;
- min-width: 0;
}
.session-title {
display: flex;
+ font-size: 0.95rem;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
- font-size: 0.95rem;
.browser {
font-weight: 600;
@@ -182,22 +182,22 @@ const deviceType = computed(() => {
.badge {
display: inline-flex;
- align-items: center;
padding: 0.15rem 0.5rem;
border-radius: 20px;
font-size: 0.7rem;
font-weight: 600;
- text-transform: uppercase;
+ align-items: center;
letter-spacing: 0.03em;
+ text-transform: uppercase;
&.current {
- background: var(--green-bg);
color: var(--green-dark);
+ background: var(--green-bg);
}
&.inactive {
- background: var(--grey-bg);
color: var(--grey-dark);
+ background: var(--grey-bg);
}
}
@@ -209,10 +209,10 @@ const deviceType = computed(() => {
.meta-item {
display: inline-flex;
- align-items: center;
- gap: 0.35rem;
font-size: 0.8rem;
color: var(--font-color-light);
+ align-items: center;
+ gap: 0.35rem;
svg {
width: 14px;
@@ -222,8 +222,8 @@ const deviceType = computed(() => {
}
.session-details {
- padding-top: 0.75rem;
border-top: 1px solid var(--border-color-light);
+ padding-top: 0.75rem;
}
.detail-row {
@@ -241,9 +241,9 @@ const deviceType = computed(() => {
.detail-label {
font-size: 0.7rem;
font-weight: 500;
- text-transform: uppercase;
- letter-spacing: 0.04em;
color: var(--font-color-light);
+ letter-spacing: 0.04em;
+ text-transform: uppercase;
}
.detail-value {
@@ -253,28 +253,28 @@ const deviceType = computed(() => {
.session-user-agent {
display: flex;
+ border-top: 1px solid var(--border-color-light);
flex-direction: column;
gap: 0.35rem;
padding-top: 0.75rem;
- border-top: 1px solid var(--border-color-light);
}
.user-agent-label {
font-size: 0.7rem;
font-weight: 500;
- text-transform: uppercase;
- letter-spacing: 0.04em;
color: var(--font-color-light);
+ letter-spacing: 0.04em;
+ text-transform: uppercase;
}
.user-agent-value {
+ padding: 0.5rem 0.75rem;
+ border-radius: 6px;
font-family: var(--monospace-font, 'JetBrains Mono', monospace);
font-size: 0.75rem;
+ line-height: 1.4;
color: var(--font-color-light);
background: var(--bg-contrast);
- padding: 0.5rem 0.75rem;
- border-radius: 6px;
word-break: break-all;
- line-height: 1.4;
}
</style>
diff --git a/frontend/app/components/Sidebar/SidebarItem.vue b/frontend/app/components/Sidebar/SidebarItem.vue
index 9b5345f7..1108f10d 100644
--- a/frontend/app/components/Sidebar/SidebarItem.vue
+++ b/frontend/app/components/Sidebar/SidebarItem.vue
@@ -144,8 +144,8 @@ const drop = async (event: DragEvent) => {
.content {
flex: 1;
- text-overflow: ellipsis;
overflow: hidden;
+ text-overflow: ellipsis;
white-space: nowrap;
}
diff --git a/frontend/app/pages/(public)/_components/OpenSourceStats.vue b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
index 2963f75d..ba6fe63e 100644
--- a/frontend/app/pages/(public)/_components/OpenSourceStats.vue
+++ b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
@@ -264,10 +264,10 @@ onMounted(() => {
}
.stat-icon {
- margin: 0.5rem;
display: flex;
- justify-content: center;
+ margin: 0.5rem;
align-items: center;
+ justify-content: center;
}
.stat-value {
diff --git a/frontend/app/pages/(public)/login/oidc/callback.vue b/frontend/app/pages/(public)/login/oidc/callback.vue
index 923a8e88..69ccfb37 100644
--- a/frontend/app/pages/(public)/login/oidc/callback.vue
+++ b/frontend/app/pages/(public)/login/oidc/callback.vue
@@ -98,37 +98,39 @@ onMounted(async () => {
h1 {
font-size: 2em;
}
+
.body-container {
display: flex;
width: 100%;
max-width: 500px;
margin: 0 auto;
align-items: center;
+ flex: 1;
flex-direction: column;
justify-content: center;
- flex: 1;
}
.status-container {
display: flex;
- flex-direction: column;
- align-items: center;
text-align: center;
+ align-items: center;
+ flex-direction: column;
p {
- font-size: 1rem;
margin: 0.25rem 0;
+ font-size: 1rem;
}
}
+
.error-message {
- color: var(--red) !important;
- font-weight: 500;
max-width: 400px;
+ font-weight: 500;
+ color: var(--red) !important;
}
.redirect-notice {
- margin-top: 1rem !important;
opacity: 0.8;
+ margin-top: 1rem !important;
}
.actions-row {
diff --git a/frontend/app/pages/(public)/signup.vue b/frontend/app/pages/(public)/signup.vue
index 58fc0226..4e2733fb 100644
--- a/frontend/app/pages/(public)/signup.vue
+++ b/frontend/app/pages/(public)/signup.vue
@@ -180,8 +180,8 @@ input {
}
.required {
- color: var(--red);
font-size: larger;
+ color: var(--red);
}
/* ===== Password ===== */
diff --git a/frontend/app/pages/dashboard/cdn/[id]/index.vue b/frontend/app/pages/dashboard/cdn/[id]/index.vue
index b419159a..da75c732 100644
--- a/frontend/app/pages/dashboard/cdn/[id]/index.vue
+++ b/frontend/app/pages/dashboard/cdn/[id]/index.vue
@@ -108,6 +108,7 @@ a {
color: var(--primary);
text-decoration: underline;
}
+
.actions-row {
justify-content: flex-end;
}
diff --git a/frontend/app/pages/dashboard/cdn/[id]/preview.vue b/frontend/app/pages/dashboard/cdn/[id]/preview.vue
index afd9046a..aaa1a1c2 100644
--- a/frontend/app/pages/dashboard/cdn/[id]/preview.vue
+++ b/frontend/app/pages/dashboard/cdn/[id]/preview.vue
@@ -68,6 +68,7 @@ const showDeleteModal = () => {
.btn-icon {
position: relative;
margin: 0 1px;
+
&:hover .hint-tooltip {
opacity: 1;
visibility: visible;
@@ -77,15 +78,16 @@ const showDeleteModal = () => {
header {
display: flex;
align-items: center;
- justify-content: space-between;
flex-wrap: wrap;
+ justify-content: space-between;
}
.preview {
display: flex;
flex: 1;
- overflow: hidden;
justify-content: center;
+ overflow: hidden;
+
img {
max-width: 100%;
max-height: 100%;
@@ -95,7 +97,7 @@ header {
.no-preview {
display: flex;
- flex-direction: column;
text-align: center;
+ flex-direction: column;
}
</style>
diff --git a/frontend/app/pages/dashboard/import/_components/ImportActions.vue b/frontend/app/pages/dashboard/import/_components/ImportActions.vue
index 6777cb51..48ef7479 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportActions.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportActions.vue
@@ -37,10 +37,10 @@ const isImporting = computed(() => props.importJob.status === 'in_progress');
<style scoped lang="scss">
.actions-card {
display: flex;
- justify-content: space-between;
- align-items: center;
padding: 1rem;
+ align-items: center;
border-top: 1px solid var(--border-color);
+ justify-content: space-between;
.import-options {
display: flex;
diff --git a/frontend/app/pages/dashboard/import/_components/ImportHeader.vue b/frontend/app/pages/dashboard/import/_components/ImportHeader.vue
index 6bb3ba58..75a81c83 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportHeader.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportHeader.vue
@@ -66,10 +66,11 @@ h2 {
display: flex;
align-items: center;
}
+
.info-grid {
display: grid;
- grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 1rem;
+ grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
margin-bottom: 1rem;
}
@@ -97,19 +98,19 @@ h2 {
.badge {
display: inline-flex;
- align-items: center;
- gap: 0.25rem;
padding: 0.25rem 0.5rem;
border-radius: $radius-sm;
font-size: 0.75rem;
- background: var(--bg-color-2);
color: var(--font-color-dark);
+ background: var(--bg-color-2);
opacity: 0.5;
+ align-items: center;
+ gap: 0.25rem;
&.active {
- opacity: 1;
- background: var(--primary-bg);
color: var(--primary);
+ background: var(--primary-bg);
+ opacity: 1;
}
}
}
diff --git a/frontend/app/pages/dashboard/import/_components/ImportProgress.vue b/frontend/app/pages/dashboard/import/_components/ImportProgress.vue
index 5d20063e..624e39bc 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportProgress.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportProgress.vue
@@ -56,23 +56,23 @@ const statusLabel = computed(() => {
font-weight: 500;
&.pending {
- background: var(--yellow-bg);
color: var(--yellow);
+ background: var(--yellow-bg);
}
&.in_progress {
- background: var(--primary-bg);
color: var(--primary);
+ background: var(--primary-bg);
}
&.completed {
- background: var(--green-bg);
color: var(--green);
+ background: var(--green-bg);
}
&.failed {
- background: var(--red-bg);
color: var(--red);
+ background: var(--red-bg);
}
}
@@ -84,16 +84,16 @@ const statusLabel = computed(() => {
.progress-bar-container {
width: 100%;
height: 8px;
- background: var(--border-color);
border-radius: 4px;
- overflow: hidden;
+ background: var(--border-color);
margin-bottom: 0.75rem;
+ overflow: hidden;
}
.progress-bar {
height: 100%;
- background: var(--primary);
border-radius: 4px;
+ background: var(--primary);
transition: width 0.3s ease;
}
</style>
diff --git a/frontend/app/pages/dashboard/import/_components/ImportSummary.vue b/frontend/app/pages/dashboard/import/_components/ImportSummary.vue
index 75ccf5c1..0f476536 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportSummary.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportSummary.vue
@@ -45,19 +45,19 @@ defineProps<{
.stats {
display: flex;
- justify-content: space-around;
flex-wrap: wrap;
gap: 1rem;
+ justify-content: space-around;
}
.stat {
display: flex;
- flex-direction: column;
- align-items: center;
- gap: 0.25rem;
- padding: 1rem;
width: 200px;
+ padding: 1rem;
border-radius: $radius-sm;
+ align-items: center;
+ flex-direction: column;
+ gap: 0.25rem;
.count {
font-size: 1.75rem;
@@ -70,18 +70,18 @@ defineProps<{
}
&.new {
- background: var(--green-bg);
color: var(--green);
+ background: var(--green-bg);
}
&.update {
- background: var(--primary-bg);
color: var(--primary);
+ background: var(--primary-bg);
}
&.unchanged {
- background: var(--grey-bg);
color: var(--font-color-dark);
+ background: var(--grey-bg);
}
}
diff --git a/frontend/app/pages/dashboard/import/_components/ImportTabs.vue b/frontend/app/pages/dashboard/import/_components/ImportTabs.vue
index 11001036..70330e16 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportTabs.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportTabs.vue
@@ -175,21 +175,22 @@ function importLocalSettings() {
// Documents Card
.tabs {
display: flex;
- gap: 0;
- border-bottom: 1px solid var(--border-color);
+ width: 100%;
padding: 0 1.5rem;
+ border-bottom: 1px solid var(--border-color);
+ gap: 0;
margin-bottom: 2rem;
- width: 100%;
+
button {
padding: 1rem 1.5rem;
- background: none;
border: none;
+ font-size: 15px;
color: var(--font-color-dark);
- cursor: pointer;
- border-bottom: 2px solid transparent;
+ background: none;
transition: all 0.2s ease;
+ border-bottom: 2px solid transparent;
+ cursor: pointer;
flex: 1;
- font-size: 15px;
&:hover {
color: var(--font-color);
@@ -208,11 +209,11 @@ function importLocalSettings() {
.empty-state {
display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
padding: 3rem;
color: var(--font-color-dark);
+ align-items: center;
+ flex-direction: column;
+ justify-content: center;
p {
margin-top: 0.5rem;
@@ -222,28 +223,28 @@ function importLocalSettings() {
.list-header {
display: flex;
align-items: center;
+ border-bottom: 1px solid var(--border-color);
justify-content: space-between;
margin-bottom: 1rem;
padding-bottom: 1rem;
- border-bottom: 1px solid var(--border-color);
}
.documents-list {
display: flex;
+ max-height: 400px;
flex-direction: column;
gap: 0.5rem;
- max-height: 400px;
overflow-y: auto;
}
.document-item {
display: flex;
- align-items: center;
- gap: 1rem;
padding: 0.75rem;
- background: var(--bg-color-2);
border-radius: $radius-sm;
+ background: var(--bg-color-2);
transition: background 0.2s;
+ align-items: center;
+ gap: 1rem;
&:hover {
background: var(--bg-color-3);
@@ -251,23 +252,23 @@ function importLocalSettings() {
.doc-info {
display: flex;
+ min-width: 0;
align-items: center;
- gap: 0.75rem;
flex: 1;
- min-width: 0;
+ gap: 0.75rem;
}
.doc-details {
display: flex;
- flex-direction: column;
min-width: 0;
+ flex-direction: column;
}
.doc-name {
font-weight: 500;
- white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
}
.doc-meta {
@@ -281,8 +282,8 @@ function importLocalSettings() {
.doc-actions {
display: flex;
- gap: 0.5rem;
flex-shrink: 0;
+ gap: 0.5rem;
}
&.update-item {
@@ -290,21 +291,21 @@ function importLocalSettings() {
.comparison {
display: flex;
- align-items: center;
- gap: 0.5rem;
padding: 0.25rem 0.5rem;
- background: var(--bg-color);
border-radius: $radius-sm;
font-size: 0.75rem;
+ background: var(--bg-color);
+ align-items: center;
+ gap: 0.5rem;
.version {
display: flex;
- flex-direction: column;
align-items: center;
+ flex-direction: column;
.version-label {
- font-weight: 500;
font-size: 0.65rem;
+ font-weight: 500;
text-transform: uppercase;
}
diff --git a/frontend/app/pages/dashboard/import/index.vue b/frontend/app/pages/dashboard/import/index.vue
index 6de0ccee..f77488cb 100644
--- a/frontend/app/pages/dashboard/import/index.vue
+++ b/frontend/app/pages/dashboard/import/index.vue
@@ -218,9 +218,9 @@ async function importAll() {
}
.error-text {
+ font-size: 0.9rem;
color: var(--red);
text-align: center;
margin-top: 0.5rem;
- font-size: 0.9rem;
}
</style>
diff --git a/frontend/app/pages/dashboard/settings/_views/_modals/SnippetModal.vue b/frontend/app/pages/dashboard/settings/_views/_modals/SnippetModal.vue
index 93c0fad9..b9fac204 100644
--- a/frontend/app/pages/dashboard/settings/_views/_modals/SnippetModal.vue
+++ b/frontend/app/pages/dashboard/settings/_views/_modals/SnippetModal.vue
@@ -53,6 +53,7 @@ const save = () => {
textarea {
width: 100%;
}
+
.actions-row {
justify-content: flex-end;
}
diff --git a/frontend/app/pages/dashboard/settings/_views/backups.vue b/frontend/app/pages/dashboard/settings/_views/backups.vue
index 6c6af889..93df347d 100644
--- a/frontend/app/pages/dashboard/settings/_views/backups.vue
+++ b/frontend/app/pages/dashboard/settings/_views/backups.vue
@@ -264,9 +264,9 @@ onUnmounted(() => {
text-align: left;
h3 {
- margin-bottom: 1rem;
font-size: 1rem;
color: var(--font-color);
+ margin-bottom: 1rem;
}
}
@@ -301,23 +301,23 @@ onUnmounted(() => {
font-weight: 500;
&.pending {
- background: var(--yellow-bg);
color: var(--yellow);
+ background: var(--yellow-bg);
}
&.processing {
- background: var(--primary-bg);
color: var(--primary);
+ background: var(--primary-bg);
}
&.completed {
- background: var(--green-bg);
color: var(--green);
+ background: var(--green-bg);
}
&.failed {
- background: var(--red-bg);
color: var(--red);
+ background: var(--red-bg);
}
}
@@ -329,36 +329,36 @@ onUnmounted(() => {
.progress-bar-container {
width: 100%;
height: 8px;
- background: var(--border-color);
border-radius: 4px;
- overflow: hidden;
+ background: var(--border-color);
margin-bottom: 0.75rem;
+ overflow: hidden;
}
.progress-bar {
height: 100%;
- background: var(--primary);
border-radius: 4px;
+ background: var(--primary);
transition: width 0.3s ease;
}
.progress-message {
- color: var(--font-color-dark);
font-size: 1rem;
font-weight: bold;
+ color: var(--font-color-dark);
margin-bottom: 0.75rem;
}
.error-message {
display: flex;
- align-items: center;
- gap: 0.5rem;
padding: 0.75rem;
- background: var(--error-bg);
- color: var(--error);
border-radius: $radius-sm;
- margin-top: 0.75rem;
+ color: var(--error);
text-align: left;
+ background: var(--error-bg);
+ align-items: center;
+ gap: 0.5rem;
+ margin-top: 0.75rem;
}
.link-section {
@@ -367,11 +367,11 @@ onUnmounted(() => {
.expiry-notice {
display: flex;
- align-items: center;
- justify-content: center;
- gap: 0.25rem;
font-size: 0.75rem;
color: var(--font-color-dark);
+ align-items: center;
+ gap: 0.25rem;
+ justify-content: center;
margin-bottom: 1rem;
}
@@ -380,8 +380,9 @@ input[type='text'] {
}
.actions-row {
- margin-top: 0.75rem;
justify-content: center;
+ margin-top: 0.75rem;
+
a {
text-decoration: none;
}
diff --git a/frontend/app/pages/dashboard/settings/_views/preferences.vue b/frontend/app/pages/dashboard/settings/_views/preferences.vue
index 02f539c6..e4d9581b 100644
--- a/frontend/app/pages/dashboard/settings/_views/preferences.vue
+++ b/frontend/app/pages/dashboard/settings/_views/preferences.vue
@@ -295,8 +295,8 @@ label {
.description {
font-size: 0.85rem;
color: var(--font-color-light);
- margin-top: 0.25rem;
margin-left: 2px;
+ margin-top: 0.25rem;
}
h3 {
diff --git a/frontend/app/pages/dashboard/settings/_views/security.vue b/frontend/app/pages/dashboard/settings/_views/security.vue
index 081adc8e..e48c8dd3 100644
--- a/frontend/app/pages/dashboard/settings/_views/security.vue
+++ b/frontend/app/pages/dashboard/settings/_views/security.vue
@@ -211,12 +211,12 @@ const openDeleteModal = () => useModal().add(new Modal(shallowRef(DeleteAccountM
}
.no-sessions {
- color: var(--font-color-light);
- font-style: italic;
padding: 1rem;
+ border-radius: 10px;
+ color: var(--font-color-light);
text-align: center;
background: var(--bg-contrast);
- border-radius: 10px;
+ font-style: italic;
}
p {
@@ -226,11 +226,11 @@ p {
.warning-box {
display: flex;
- gap: 1rem;
padding: 1rem 1.25rem;
+ border: 1px solid var(--yellow-border);
border-radius: 10px;
background: var(--yellow-bg);
- border: 1px solid var(--yellow-border);
+ gap: 1rem;
margin-bottom: 1.5rem;
svg {
@@ -242,8 +242,8 @@ p {
}
strong {
- color: var(--yellow-dark);
display: block;
+ color: var(--yellow-dark);
margin-bottom: 0.25rem;
}
@@ -275,21 +275,21 @@ p {
.oidc-loading {
display: flex;
- align-items: center;
- gap: 0.75rem;
padding: 1rem;
color: var(--font-color-light);
+ align-items: center;
+ gap: 0.75rem;
}
.oidc-account {
display: flex;
- align-items: center;
- justify-content: space-between;
padding: 0.75rem 1rem;
border: 1px solid var(--border-color);
border-radius: 10px;
background: var(--bg-secondary);
+ align-items: center;
gap: 1rem;
+ justify-content: space-between;
}
.oidc-account-info {
@@ -300,10 +300,10 @@ p {
.oidc-icon {
display: flex;
- align-items: center;
- justify-content: center;
width: 24px;
height: 24px;
+ align-items: center;
+ justify-content: center;
:deep(svg) {
width: 100%;
@@ -326,8 +326,8 @@ p {
color: var(--font-color-light);
&.linked {
- color: var(--green);
font-weight: 500;
+ color: var(--green);
}
}
@@ -341,14 +341,14 @@ p {
.danger-card {
display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 1rem;
padding: 1rem 1.25rem;
border: 1px solid var(--border-color);
border-radius: 12px;
background: var(--bg-color);
transition: all 0.2s ease;
+ align-items: center;
+ gap: 1rem;
+ justify-content: space-between;
&:hover {
border-color: var(--border-color-accent);
@@ -366,37 +366,37 @@ p {
.danger-card-content {
display: flex;
+ min-width: 0;
align-items: flex-start;
- gap: 1rem;
flex: 1;
- min-width: 0;
+ gap: 1rem;
}
.danger-card-icon {
display: flex;
- align-items: center;
- justify-content: center;
width: 40px;
height: 40px;
border-radius: 10px;
- background: var(--bg-contrast-2);
color: var(--font-color);
+ background: var(--bg-contrast-2);
+ align-items: center;
flex-shrink: 0;
+ justify-content: center;
&.warning {
- background: var(--yellow-bg);
color: var(--yellow-dark);
+ background: var(--yellow-bg);
}
&.destructive {
- background: var(--red-bg);
color: var(--red);
+ background: var(--red-bg);
}
}
.danger-card-info {
- flex: 1;
min-width: 0;
+ flex: 1;
h4 {
margin: 0 0 0.25rem;
@@ -408,8 +408,8 @@ p {
> p {
margin: 0;
font-size: 0.85rem;
- color: var(--font-color-light);
line-height: 1.4;
+ color: var(--font-color-light);
}
}
@@ -430,9 +430,9 @@ p {
ul {
margin: 0.5rem 0;
- padding-left: 1.25rem;
font-size: 0.8rem;
color: var(--font-color-light);
+ padding-left: 1.25rem;
li {
margin: 0.2rem 0;
@@ -444,17 +444,17 @@ p {
color: var(--font-color-light);
a {
+ font-weight: 500;
color: var(--primary);
text-decoration: underline;
- font-weight: 500;
}
}
}
-@media (max-width: 600px) {
+@media (width <= 600px) {
.danger-card {
- flex-direction: column;
align-items: stretch;
+ flex-direction: column;
button {
width: 100%;
diff --git a/frontend/app/pages/dashboard/settings/_views/snippets.vue b/frontend/app/pages/dashboard/settings/_views/snippets.vue
index 8e3ceb48..493d4730 100644
--- a/frontend/app/pages/dashboard/settings/_views/snippets.vue
+++ b/frontend/app/pages/dashboard/settings/_views/snippets.vue
@@ -194,12 +194,12 @@ const handleDictImport = async (e: Event) => {
}
.count {
- margin-left: 0.5rem;
padding: 0.15rem 0.5rem;
border-radius: 999px;
font-size: 0.75rem;
color: var(--font-color-light);
background: var(--bg-ui);
+ margin-left: 0.5rem;
}
code {
@@ -224,10 +224,7 @@ const handleDictImport = async (e: Event) => {
.dropdown-backdrop {
position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
+ inset: 0;
z-index: 99;
}
@@ -237,26 +234,26 @@ const handleDictImport = async (e: Event) => {
left: 0;
z-index: 100;
min-width: 160px;
- margin-top: 0.25rem;
padding: 0.25rem;
border: 1px solid var(--border-color);
border-radius: 8px;
background: var(--bg-color);
box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
+ margin-top: 0.25rem;
button {
display: flex;
width: 100%;
- gap: 0.5rem;
padding: 0.5rem 0.75rem;
border: none;
border-radius: 6px;
font-size: 0.85rem;
- text-align: left;
color: var(--font-color);
+ text-align: left;
background: none;
align-items: center;
cursor: pointer;
+ gap: 0.5rem;
&:hover {
background: var(--bg-ui);
@@ -287,13 +284,13 @@ const handleDictImport = async (e: Event) => {
.separator {
height: 32px;
- margin-left: 4px;
border-left: 1px solid var(--border-color);
+ margin-left: 4px;
}
.action-btn {
- margin-right: 10px;
cursor: pointer;
+ margin-right: 10px;
&:hover {
opacity: 0.7;
diff --git a/frontend/app/pages/dashboard/settings/index.vue b/frontend/app/pages/dashboard/settings/index.vue
index 7c1be3fd..d96459d3 100644
--- a/frontend/app/pages/dashboard/settings/index.vue
+++ b/frontend/app/pages/dashboard/settings/index.vue
@@ -163,48 +163,48 @@ const close = () => emit('close');
@media screen and (width <= 920px) {
.component {
- flex-direction: column;
position: relative;
+ flex-direction: column;
.menu-toggle {
display: flex;
- align-items: center;
- gap: 0.5rem;
padding: 0.75rem 1rem;
border: none;
- border-bottom: 1px solid var(--border-color);
- background-color: var(--bg-contrast);
- color: inherit;
font-size: 0.9rem;
+ color: inherit;
+ background-color: var(--bg-contrast);
+ align-items: center;
+ border-bottom: 1px solid var(--border-color);
cursor: pointer;
+ gap: 0.5rem;
}
nav {
position: absolute;
top: 45px;
left: 0;
+ z-index: 10;
width: 100%;
max-height: 0;
padding: 0;
- overflow: hidden;
- border-right: none;
background-color: var(--bg-color);
- z-index: 10;
transition: max-height 0.25s ease, padding 0.25s ease;
+ border-right: none;
+ overflow: hidden;
&.open {
max-height: 70vh;
padding: 1rem;
- overflow-y: auto;
border-radius: $radius-lg;
- border-bottom: 1px solid var(--border-color);
box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
+ border-bottom: 1px solid var(--border-color);
+ overflow-y: auto;
}
}
.content {
- padding: 1rem;
margin: 0;
+ padding: 1rem;
}
}
diff --git a/frontend/app/styles/components.scss b/frontend/app/styles/components.scss
index 83312c32..e3f12f2f 100644
--- a/frontend/app/styles/components.scss
+++ b/frontend/app/styles/components.scss
@@ -75,14 +75,14 @@
// ===========================
.card-component {
display: block;
+ height: 100%;
+ max-height: 100%;
margin: 8px 4px;
padding: 20px;
border: 1px solid var(--border-color);
border-radius: $radius-md;
box-shadow: 0 2px 6px var(--shadow);
gap: 16px;
- max-height: 100%;
- height: 100%;
overflow: auto;
header {
@@ -90,8 +90,8 @@
align-items: center;
border-bottom: 1px solid var(--border-color);
justify-content: space-between;
- padding-bottom: 4px;
margin-bottom: 10px;
+ padding-bottom: 4px;
h1 {
margin: 10px 0;
@@ -181,22 +181,23 @@ tag {
color: white;
background-color: #1f2937;
box-shadow: 0 2px 8px var(--shadow);
- margin-top: 0.2rem;
- text-transform: capitalize;
- transform: translateX(-50%);
- white-space: nowrap;
// Initial state (hidden)
opacity: 0;
- visibility: hidden;
- pointer-events: none;
/* Transition */
transition:
opacity 0.2s ease,
visibility 0s linear 0.4s; // Delay hiding to match opacity transition
- /*&::after {
+ margin-top: 0.2rem;
+ pointer-events: none;
+ text-transform: capitalize;
+ transform: translateX(-50%);
+ visibility: hidden;
+ white-space: nowrap;
+
+ /* &::after {
content: '';
position: absolute;
bottom: 100%;
@@ -205,7 +206,7 @@ tag {
border-width: 5px;
border-style: solid;
border-color: transparent transparent #1f2937 transparent;
- }*/
+ } */
}
// ===========================
diff --git a/frontend/app/styles/document-theme.scss b/frontend/app/styles/document-theme.scss
index 53d1b6e1..f9936a19 100644
--- a/frontend/app/styles/document-theme.scss
+++ b/frontend/app/styles/document-theme.scss
@@ -261,8 +261,8 @@
max-width: 100%;
padding: 0 0.5rem;
font-family: Inter, Roboto, sans-serif;
- color: var(--font-color);
font-size: 16px;
+ color: var(--font-color);
.header-anchor {
display: none;
@@ -273,8 +273,8 @@
}
h2 {
- margin-top: 2rem;
font-size: 1.5rem;
+ margin-top: 2rem;
}
h3 {
diff --git a/frontend/app/styles/main.scss b/frontend/app/styles/main.scss
index c2d5a470..a43a3c1a 100644
--- a/frontend/app/styles/main.scss
+++ b/frontend/app/styles/main.scss
@@ -93,7 +93,6 @@ form {
}
@media print {
-
header,
footer,
nav,
diff --git a/frontend/app/styles/theme.scss b/frontend/app/styles/theme.scss
index 8ed77606..3b138aa4 100644
--- a/frontend/app/styles/theme.scss
+++ b/frontend/app/styles/theme.scss
@@ -112,9 +112,9 @@ video {
iframe {
max-width: 100%;
+ margin: 10px 0;
border: none;
border-radius: 6px;
- margin: 10px 0;
}
input,
@@ -193,24 +193,24 @@ p {
table {
max-width: 100%;
margin: 1.5rem 0;
- border-collapse: collapse;
- font-size: 0.95rem;
border-radius: 12px;
+ font-size: 0.95rem;
+ box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
+ border-collapse: collapse;
overflow: hidden;
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
/* Header */
thead th {
padding: 0.9rem 1rem;
- text-align: left;
- font-weight: 500;
font-size: 0.8rem;
- letter-spacing: 0.03em;
- text-transform: uppercase;
+ font-weight: 500;
color: var(--font-color-light);
+ text-align: left;
background-color: var(--border-color-light);
border-bottom: 1px solid var(--border-color);
+ letter-spacing: 0.03em;
+ text-transform: uppercase;
}
/* Cells */