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.

fix: lint css & new rules

Smaug6739e1ff8526c032
diff --git a/frontend/app/App.vue b/frontend/app/App.vue
index 38b2ff62..6d2405ed 100644
--- a/frontend/app/App.vue
+++ b/frontend/app/App.vue
@@ -83,8 +83,8 @@ useHead({
<style lang="scss">
#app {
display: flex;
- height: 100vh;
flex-direction: column;
+ height: 100vh;
overflow: auto scroll;
}
diff --git a/frontend/app/components/AppAccordion.vue b/frontend/app/components/AppAccordion.vue
index 018a71e5..f2ce3bd2 100644
--- a/frontend/app/components/AppAccordion.vue
+++ b/frontend/app/components/AppAccordion.vue
@@ -106,15 +106,15 @@ function onLeave(el: Element) {
.accordion-trigger {
display: flex;
+ justify-content: space-between;
+ align-items: center;
+ gap: 0.75rem;
width: 100%;
padding: 1.1rem 1.4rem;
border: 0;
text-align: left;
background: transparent;
- align-items: center;
cursor: pointer;
- gap: 0.75rem;
- justify-content: space-between;
&:focus-visible {
border-radius: var(--radius-lg);
@@ -140,8 +140,8 @@ function onLeave(el: Element) {
}
.open .chevron {
- stroke: var(--primary);
transform: rotate(180deg);
+ stroke: var(--primary);
}
.accordion-content-wrapper {
@@ -150,10 +150,10 @@ function onLeave(el: Element) {
.accordion-content {
padding: 0 1.4rem 1.1rem;
+ border-top: 1px solid #eee;
line-height: 1.6;
color: #555;
background: #fafafa;
- border-top: 1px solid #eee;
}
.accordion-expand-enter-active,
diff --git a/frontend/app/components/AppBtnIcon.vue b/frontend/app/components/AppBtnIcon.vue
index 7b7b03f9..b2948c0f 100644
--- a/frontend/app/components/AppBtnIcon.vue
+++ b/frontend/app/components/AppBtnIcon.vue
@@ -29,19 +29,18 @@ const attrs = useAttrs();
<style scoped lang="scss">
button,
-button,
a {
position: relative;
display: inline-flex;
+ align-items: center;
+ gap: 7px;
margin: 0 1px;
padding: 4.5px;
+ border-bottom: 2px solid transparent;
border-radius: var(--radius-sm);
transition:
background-color $transition-fast ease-in-out,
border-color $transition-fast ease-in-out;
- align-items: center;
- border-bottom: 2px solid transparent;
- gap: 7px;
&:hover {
background-color: var(--surface-raised);
@@ -65,18 +64,16 @@ a {
@media screen and (width <= 768px) {
.btn-tooltip {
position: static !important;
- transform: none !important;
+ order: 1;
+ margin: 0 !important;
+ padding: 0 !important;
+ color: inherit !important;
background-color: transparent !important;
box-shadow: none !important;
- color: inherit !important;
- padding: 0 !important;
- margin: 0 !important;
-
opacity: 1 !important;
visibility: visible !important;
+ transform: none !important;
pointer-events: auto !important;
-
- order: 1;
}
}
</style>
diff --git a/frontend/app/components/AppButton.vue b/frontend/app/components/AppButton.vue
index f20b471f..a97c7d25 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: var(--radius-sm);
font-size: 0.9rem;
- align-items: center;
- gap: 0.5rem;
white-space: nowrap;
&:disabled {
diff --git a/frontend/app/components/AppCheck.vue b/frontend/app/components/AppCheck.vue
index 80cf6964..470b00e6 100644
--- a/frontend/app/components/AppCheck.vue
+++ b/frontend/app/components/AppCheck.vue
@@ -23,10 +23,10 @@ function toggle() {
<style scoped lang="scss">
.checkbox {
display: inline-flex;
- width: fit-content;
align-items: center;
- cursor: pointer;
gap: 0.25rem;
+ width: fit-content;
+ cursor: pointer;
user-select: none;
input {
@@ -35,6 +35,8 @@ function toggle() {
.mark {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 20px;
height: 20px;
border: 2px solid var(--border);
@@ -43,8 +45,6 @@ function toggle() {
transition:
border-color $transition-fast,
background-color $transition-fast;
- align-items: center;
- justify-content: center;
svg {
width: 16px;
diff --git a/frontend/app/components/AppColorPicker.vue b/frontend/app/components/AppColorPicker.vue
index 6173057f..af68a1da 100644
--- a/frontend/app/components/AppColorPicker.vue
+++ b/frontend/app/components/AppColorPicker.vue
@@ -3,7 +3,8 @@
<div
v-if="nullable"
class="color-option"
- style="border: 1px solid var(--border); background-color: white"
+ style="border: 1px solid var(--border);
+ background-color: white"
:style="{ outline: modelValue == -1 ? '2px solid var(--text-secondary)' : '' }"
:class="{ selected: modelValue === -1 }"
@click="selectColor(-1)"
@@ -62,10 +63,10 @@ const selectColor = (color: number) => {
<style scoped>
.color-picker {
display: flex;
- padding: 6px;
- border-radius: var(--radius-sm);
flex-wrap: wrap;
gap: 8px;
+ padding: 6px;
+ border-radius: var(--radius-sm);
}
.color-option {
diff --git a/frontend/app/components/AppDotMenu.vue b/frontend/app/components/AppDotMenu.vue
index dcb136dc..0d44ffd3 100644
--- a/frontend/app/components/AppDotMenu.vue
+++ b/frontend/app/components/AppDotMenu.vue
@@ -66,11 +66,11 @@ onBeforeUnmount(() => document.removeEventListener('mousedown', handleClickOutsi
right: 0;
z-index: 2;
min-width: 270px;
+ margin-top: 4px;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--surface-base);
box-shadow: var(--shadow-sm);
- margin-top: 4px;
overflow: hidden;
}
diff --git a/frontend/app/components/AppDrop.vue b/frontend/app/components/AppDrop.vue
index 8810b9b9..77238a28 100644
--- a/frontend/app/components/AppDrop.vue
+++ b/frontend/app/components/AppDrop.vue
@@ -148,6 +148,9 @@ defineExpose({ reset });
.drop {
position: relative;
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
width: 100%;
min-height: 150px;
border: 2px dashed var(--border);
@@ -158,9 +161,6 @@ defineExpose({ reset });
transition:
border-color $transition-base ease,
background-color $transition-base ease;
- align-items: center;
- flex-direction: column;
- justify-content: center;
&:hover {
border-color: var(--border-strong);
@@ -168,8 +168,8 @@ defineExpose({ reset });
}
&.has-files {
- padding: 12px;
align-items: stretch;
+ padding: 12px;
}
&.dragging {
@@ -184,8 +184,8 @@ defineExpose({ reset });
.empty {
display: flex;
- align-items: center;
flex-direction: column;
+ align-items: center;
gap: 8px;
p {
@@ -200,25 +200,25 @@ defineExpose({ reset });
.files {
display: flex;
- width: 100%;
flex-direction: column;
gap: 8px;
+ width: 100%;
}
.list {
display: flex;
- max-height: 300px;
flex-direction: column;
gap: 6px;
+ max-height: 300px;
overflow-y: auto;
}
footer {
display: flex;
- align-items: center;
- border-top: 1px solid var(--border);
justify-content: space-between;
+ align-items: center;
padding-top: 8px;
+ border-top: 1px solid var(--border);
}
.total {
diff --git a/frontend/app/components/AppFooter.vue b/frontend/app/components/AppFooter.vue
index db0497ff..c4369bb1 100644
--- a/frontend/app/components/AppFooter.vue
+++ b/frontend/app/components/AppFooter.vue
@@ -98,8 +98,8 @@
<style scoped lang="scss">
.footer {
position: relative;
- padding: 0 2rem;
margin-top: 4rem;
+ padding: 0 2rem;
overflow: hidden;
}
@@ -112,10 +112,10 @@
.footer-main {
display: grid;
+ grid-template-columns: 1.5fr 2.5fr;
+ gap: 4rem;
padding: 4rem 0;
border-top: 1px solid var(--border);
- gap: 4rem;
- grid-template-columns: 1.5fr 2.5fr;
}
// Brand Section
@@ -136,10 +136,10 @@
}
.brand-desc {
+ margin-bottom: 1.5rem;
font-size: 0.9rem;
line-height: 1.7;
color: var(--text-secondary);
- margin-bottom: 1.5rem;
}
.social-links {
@@ -148,6 +148,8 @@
a {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 40px;
height: 40px;
border: 1px solid var(--border);
@@ -159,8 +161,6 @@
color $transition-medium ease,
background-color $transition-medium ease,
transform $transition-medium ease;
- align-items: center;
- justify-content: center;
&:hover {
border-color: var(--primary);
@@ -174,18 +174,18 @@
// Links Section
.footer-links {
display: grid;
- gap: 2rem;
grid-template-columns: repeat(4, 1fr);
+ gap: 2rem;
}
.links-column {
h4 {
+ margin-bottom: 1rem;
font-size: 0.85rem;
font-weight: 700;
color: var(--text-body);
- letter-spacing: 0.5px;
- margin-bottom: 1rem;
text-transform: uppercase;
+ letter-spacing: 0.5px;
}
ul {
@@ -201,10 +201,10 @@
display: inline-block;
font-size: 0.9rem;
color: var(--text-secondary);
+ text-decoration: none;
transition:
color $transition-fast ease,
transform $transition-fast ease;
- text-decoration: none;
&:hover {
color: var(--primary);
@@ -217,18 +217,18 @@
// Footer Bottom
.footer-bottom {
display: flex;
- padding: 1.5rem 0;
+ justify-content: space-between;
align-items: center;
+ padding: 1.5rem 0;
border-top: 1px solid var(--border);
- justify-content: space-between;
}
.footer-bottom-left {
display: flex;
- font-size: 0.85rem;
- color: var(--text-secondary);
align-items: center;
gap: 12px;
+ font-size: 0.85rem;
+ color: var(--text-secondary);
a {
font-weight: 500;
@@ -263,15 +263,15 @@
width: 800px;
height: 400px;
background: radial-gradient(ellipse, rgb(99 102 241 / 10%), transparent 70%);
- filter: blur(60px);
transform: translateX(-50%);
+ filter: blur(60px);
}
// Responsive
@media screen and (width <= 1024px) {
.footer-main {
- gap: 3rem;
grid-template-columns: 1fr;
+ gap: 3rem;
}
.footer-brand {
@@ -293,14 +293,14 @@
}
.footer-links {
- gap: 1.5rem;
grid-template-columns: 1fr 1fr;
+ gap: 1.5rem;
}
.footer-bottom {
- text-align: center;
flex-direction: column;
gap: 1rem;
+ text-align: center;
}
.footer-bottom-left {
diff --git a/frontend/app/components/AppHint.vue b/frontend/app/components/AppHint.vue
index 0a88bf87..20adeae9 100644
--- a/frontend/app/components/AppHint.vue
+++ b/frontend/app/components/AppHint.vue
@@ -19,6 +19,8 @@ const show = ref(false);
.icon {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 1rem;
height: 1rem;
border-radius: 50%;
@@ -26,8 +28,6 @@ const show = ref(false);
font-weight: bold;
color: white;
background-color: var(--primary);
- align-items: center;
- justify-content: center;
}
.hint-content {
@@ -35,14 +35,14 @@ const show = ref(false);
top: 100%;
left: 50%;
z-index: 100;
+ margin-top: 0.4rem;
padding: 0.4rem 0.6rem;
border-radius: 0.4rem;
font-size: 0.65rem;
color: white;
+ white-space: nowrap;
background-color: var(--surface-tooltip);
box-shadow: var(--shadow-sm);
- margin-top: 0.4rem;
transform: translateX(-50%);
- white-space: nowrap;
}
</style>
diff --git a/frontend/app/components/AppPreferenceInputSection.vue b/frontend/app/components/AppPreferenceInputSection.vue
index 6da2a176..d8227893 100644
--- a/frontend/app/components/AppPreferenceInputSection.vue
+++ b/frontend/app/components/AppPreferenceInputSection.vue
@@ -102,10 +102,10 @@ const p = preferencesStore.get as <K extends PreferenceKey>(key: K) => ReturnTyp
.form-group {
display: flex;
- width: 100%;
+ justify-content: space-between;
align-items: flex-start;
gap: 1rem;
- justify-content: space-between;
+ width: 100%;
margin-bottom: 1rem;
&--vertical {
@@ -114,15 +114,15 @@ const p = preferencesStore.get as <K extends PreferenceKey>(key: K) => ReturnTyp
}
label {
- font-weight: 400;
flex: 1;
+ font-weight: 400;
}
.description {
+ margin-top: 0.25rem;
+ margin-left: 2px;
font-size: 0.85rem;
color: var(--text-secondary);
- margin-left: 2px;
- margin-top: 0.25rem;
}
h3 {
@@ -138,8 +138,8 @@ h3 {
.group-checkbox {
.checkbox-grid {
display: grid;
- gap: 0.5rem 3rem;
grid-template-columns: repeat(2, 1fr);
+ gap: 0.5rem 3rem;
}
}
diff --git a/frontend/app/components/AppRadio.vue b/frontend/app/components/AppRadio.vue
index 6ba3517c..f93df727 100644
--- a/frontend/app/components/AppRadio.vue
+++ b/frontend/app/components/AppRadio.vue
@@ -25,16 +25,16 @@ const selectItem = (id: number | string) => {
<style scoped lang="scss">
.segmented {
display: flex;
- width: 100%;
gap: 0.5rem;
+ width: 100%;
button {
+ flex: 1;
padding: 0.6rem;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--surface-raised);
cursor: pointer;
- flex: 1;
&.active {
border-color: var(--primary);
diff --git a/frontend/app/components/AppSelect.vue b/frontend/app/components/AppSelect.vue
index b3847711..6baf5fa3 100644
--- a/frontend/app/components/AppSelect.vue
+++ b/frontend/app/components/AppSelect.vue
@@ -271,9 +271,9 @@ const filterRecursive = <T extends ANode>(items: T[], filter: Ref<string>): T[]
.trigger {
display: flex;
- padding: 2px;
- align-items: center;
justify-content: space-between;
+ align-items: center;
+ padding: 2px;
}
.value {
@@ -316,28 +316,28 @@ button,
position: fixed;
z-index: 1000;
display: flex;
- background: var(--overlay-backdrop);
+ justify-content: center;
align-items: flex-end;
+ background: var(--overlay-backdrop);
inset: 0;
- justify-content: center;
}
.sheet {
display: flex;
+ flex-direction: column;
width: 100%;
max-height: 85vh;
border-radius: var(--surface-sheet-radius);
background: var(--surface-base);
animation: slide-up $transition-medium ease-out;
- flex-direction: column;
header {
display: flex;
- padding: 16px;
- align-items: center;
- border-bottom: 1px solid var(--border);
flex-shrink: 0;
justify-content: space-between;
+ align-items: center;
+ padding: 16px;
+ border-bottom: 1px solid var(--border);
}
}
@@ -358,16 +358,16 @@ button,
.close-btn {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 36px;
height: 36px;
padding: 0;
border: none;
border-radius: 50%;
background: var(--surface-raised);
- transition: background 0.2s;
- align-items: center;
cursor: pointer;
- justify-content: center;
+ transition: background 0.2s;
&:hover {
background: var(--selection-color);
@@ -376,24 +376,24 @@ button,
.sheet-search {
display: flex;
- padding: 12px 16px;
- background: var(--surface-raised);
- align-items: center;
- border-bottom: 1px solid var(--border);
flex-shrink: 0;
+ align-items: center;
gap: 8px;
+ padding: 12px 16px;
+ border-bottom: 1px solid var(--border);
+ background: var(--surface-raised);
input {
+ flex: 1;
height: 40px;
padding: 8px 12px;
- flex: 1;
}
}
.sheet-list {
+ flex: 1;
margin: 0;
padding: 8px;
- flex: 1;
list-style: none;
-webkit-overflow-scrolling: touch;
overflow-y: auto;
@@ -424,18 +424,18 @@ button,
.clear {
display: flex;
+ align-items: center;
+ gap: 8px;
margin: 2px 0 6px;
padding: 6px 12px;
+ border-bottom: 1px solid var(--border);
border-radius: var(--radius-xs);
font-size: 0.9rem;
color: var(--text-secondary);
+ cursor: pointer;
transition:
color 0.15s ease,
background-color 0.15s ease;
- align-items: center;
- border-bottom: 1px solid var(--border);
- cursor: pointer;
- gap: 8px;
&:hover {
color: var(--red);
diff --git a/frontend/app/components/AppTagInput.vue b/frontend/app/components/AppTagInput.vue
index 4b384997..18a4f29b 100644
--- a/frontend/app/components/AppTagInput.vue
+++ b/frontend/app/components/AppTagInput.vue
@@ -139,8 +139,8 @@ function removeTag(tag: string) {
.row {
display: flex;
- align-items: baseline;
flex-direction: row;
+ align-items: baseline;
gap: 12px;
}
@@ -154,8 +154,8 @@ function removeTag(tag: string) {
}
input {
- min-width: 200px;
flex: 1;
+ min-width: 200px;
&:focus {
border-color: var(--primary);
@@ -175,14 +175,14 @@ input {
.add-tag-btn {
display: flex;
+ justify-content: center;
+ align-items: center;
padding: 6px 10px;
border: none;
border-radius: var(--radius-xs);
color: white;
background: var(--primary);
- align-items: center;
cursor: pointer;
- justify-content: center;
&:hover {
background: var(--primary-dark);
@@ -191,13 +191,13 @@ input {
.add-tag-btn-min {
display: flex;
+ justify-content: center;
+ align-items: center;
padding: 4px;
border: none;
border-radius: var(--radius-md);
color: var(--text-body);
- align-items: center;
cursor: pointer;
- justify-content: center;
&:hover {
background: var(--surface-transparent);
@@ -211,11 +211,11 @@ input {
left: 0;
z-index: 10;
max-height: 150px;
+ margin-top: 2px;
border: 1px solid var(--border);
border-radius: var(--radius-xs);
background: var(--surface-base);
box-shadow: var(--shadow-md);
- margin-top: 2px;
overflow-y: auto;
}
@@ -239,24 +239,24 @@ input {
.tag-chip {
display: inline-flex;
+ align-items: center;
+ gap: 4px;
padding: 3px 6px;
border-radius: var(--radius-lg);
font-size: 12px;
background: var(--border);
- align-items: center;
- gap: 4px;
.remove-tag {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 14px;
height: 14px;
padding: 0;
border: none;
border-radius: 50%;
background: none;
- align-items: center;
cursor: pointer;
- justify-content: center;
&:hover {
color: var(--text-inverse);
diff --git a/frontend/app/components/AppToggle.vue b/frontend/app/components/AppToggle.vue
index 43786c4d..a1b93fe6 100644
--- a/frontend/app/components/AppToggle.vue
+++ b/frontend/app/components/AppToggle.vue
@@ -23,17 +23,17 @@ const toggle = () => {
<style scoped lang="scss">
.toggle {
display: flex;
+ flex: 0 0 44px;
+ align-items: center;
height: 24px;
padding: 2px;
border: 1px solid var(--border);
border-radius: 15px;
background: var(--surface-overlay);
+ cursor: pointer;
transition:
background-color $transition-medium,
border-color $transition-medium;
- align-items: center;
- cursor: pointer;
- flex: 0 0 44px;
.knob {
width: 20px;
diff --git a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
index e6940b00..ed046bcd 100644
--- a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
+++ b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
@@ -259,28 +259,28 @@ defineExpose({ flattenedItems });
<style scoped lang="scss">
.advanced-search-tab {
display: flex;
- height: 100%;
flex-direction: column;
+ height: 100%;
}
.search-filters {
- border-bottom: 1px solid var(--border);
flex-shrink: 0;
+ border-bottom: 1px solid var(--border);
}
.filters-header {
display: flex;
- padding: 10px 16px;
+ justify-content: space-between;
align-items: center;
+ padding: 10px 16px;
border-bottom: 1px solid var(--border);
- justify-content: space-between;
}
.filters-title {
margin: 0;
font-size: 11px;
- letter-spacing: 0.5px;
text-transform: uppercase;
+ letter-spacing: 0.5px;
}
.filters-actions {
@@ -291,14 +291,14 @@ defineExpose({ flattenedItems });
.toggle-filters-btn {
display: flex;
+ justify-content: center;
+ align-items: center;
padding: 4px;
border: none;
border-radius: var(--radius-xs);
background: transparent;
- transition: transform $transition-fast ease;
- align-items: center;
cursor: pointer;
- justify-content: center;
+ transition: transform $transition-fast ease;
&:hover {
background: var(--border);
@@ -311,9 +311,9 @@ defineExpose({ flattenedItems });
.filters-content {
display: grid;
- padding: 12px 16px;
- gap: 12px 16px;
grid-template-columns: 1fr 1fr;
+ gap: 12px 16px;
+ padding: 12px 16px;
}
.filter-group {
@@ -324,11 +324,11 @@ defineExpose({ flattenedItems });
.filter-label {
display: block;
+ margin-bottom: 4px;
font-size: 11px;
font-weight: 600;
- letter-spacing: 0.3px;
- margin-bottom: 4px;
text-transform: uppercase;
+ letter-spacing: 0.3px;
}
.inline {
@@ -346,9 +346,9 @@ defineExpose({ flattenedItems });
label {
display: block;
+ margin-bottom: 2px;
font-size: 10px;
opacity: 0.6;
- margin-bottom: 2px;
}
}
@@ -369,10 +369,10 @@ defineExpose({ flattenedItems });
.radio-option {
display: flex;
- font-size: 13px;
align-items: center;
- cursor: pointer;
gap: 4px;
+ font-size: 13px;
+ cursor: pointer;
input[type='radio'] {
accent-color: var(--primary);
@@ -381,8 +381,8 @@ defineExpose({ flattenedItems });
.filter-actions {
display: flex;
- gap: 8px;
grid-column: 1 / -1;
+ gap: 8px;
}
.clear-filters-btn {
@@ -391,11 +391,8 @@ defineExpose({ flattenedItems });
border-radius: var(--radius-xs);
font-size: 12px;
font-weight: 500;
- cursor: pointer;
-}
-
-.clear-filters-btn {
background: var(--border);
+ cursor: pointer;
&:hover {
background: var(--selection-color);
@@ -404,8 +401,8 @@ defineExpose({ flattenedItems });
.search-results {
position: relative;
- min-height: 0;
flex: 1;
+ min-height: 0;
overscroll-behavior: contain;
}
diff --git a/frontend/app/components/CommandCenter/QuickSearchTab.vue b/frontend/app/components/CommandCenter/QuickSearchTab.vue
index 38d7cc37..a5c43888 100644
--- a/frontend/app/components/CommandCenter/QuickSearchTab.vue
+++ b/frontend/app/components/CommandCenter/QuickSearchTab.vue
@@ -110,7 +110,7 @@ defineExpose({ flattenedItems });
<style scoped lang="scss">
.quick-search-tab {
display: flex;
- height: 100%;
flex-direction: column;
+ height: 100%;
}
</style>
diff --git a/frontend/app/components/CommandCenter/SearchResultsList.vue b/frontend/app/components/CommandCenter/SearchResultsList.vue
index 6c9631d4..9c3dd927 100644
--- a/frontend/app/components/CommandCenter/SearchResultsList.vue
+++ b/frontend/app/components/CommandCenter/SearchResultsList.vue
@@ -61,14 +61,14 @@ const groupedItems = computed(() => {
.search-result-item {
display: flex;
+ align-items: center;
+ gap: 10px;
margin: 0 5px;
padding: 8px 20px;
border-radius: var(--radius-md);
color: inherit;
- align-items: center;
- cursor: pointer;
- gap: 10px;
text-decoration: none;
+ cursor: pointer;
&:hover,
&.selected {
@@ -77,18 +77,18 @@ const groupedItems = computed(() => {
}
.result-icon {
+ flex-shrink: 0;
width: 20px;
height: 20px;
color: var(--primary);
- flex-shrink: 0;
}
.result-content {
display: flex;
- min-width: 0;
flex: 1;
flex-direction: column;
gap: 4px;
+ min-width: 0;
}
.result-shortcut {
@@ -100,22 +100,22 @@ const groupedItems = computed(() => {
.result-title {
font-size: 14px;
font-weight: 500;
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.result-description {
font-size: 13px;
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.navigate-icon {
+ flex-shrink: 0;
width: 16px;
height: 16px;
- flex-shrink: 0;
}
.section {
@@ -128,17 +128,17 @@ const groupedItems = computed(() => {
z-index: 1;
padding: 6px 20px;
font-size: 12px;
- background: var(--surface-base);
text-transform: uppercase;
+ background: var(--surface-base);
}
.no-results {
display: flex;
- padding: 40px 20px;
- text-align: center;
+ justify-content: center;
align-items: center;
gap: 5px;
- justify-content: center;
+ padding: 40px 20px;
+ text-align: center;
.no-results-icon {
opacity: 0.5;
diff --git a/frontend/app/components/CommandCenter/TabNavigation.vue b/frontend/app/components/CommandCenter/TabNavigation.vue
index 065a9a20..ebf9b56c 100644
--- a/frontend/app/components/CommandCenter/TabNavigation.vue
+++ b/frontend/app/components/CommandCenter/TabNavigation.vue
@@ -39,22 +39,22 @@ onUnmounted(() => window.removeEventListener('keydown', handleKeydown, { capture
.tab-button {
display: flex;
+ flex: 1;
+ justify-content: center;
+ align-items: center;
+ gap: 8px;
padding: 14px 20px;
border: none;
+ border-bottom: 2px solid transparent;
border-radius: 0;
font-size: 14px;
font-weight: 500;
background: transparent;
- align-items: center;
- border-bottom: 2px solid transparent;
cursor: pointer;
- flex: 1;
- gap: 8px;
- justify-content: center;
&.active {
- color: var(--primary);
border-bottom-color: var(--primary);
+ color: var(--primary);
}
}
diff --git a/frontend/app/components/CommandCenter/index.vue b/frontend/app/components/CommandCenter/index.vue
index 6448ac2b..e7ff6642 100644
--- a/frontend/app/components/CommandCenter/index.vue
+++ b/frontend/app/components/CommandCenter/index.vue
@@ -83,24 +83,24 @@ function handleKeydown(e: KeyboardEvent) {
<style scoped lang="scss">
.command-center {
display: flex;
- border-radius: 16px;
flex-direction: column;
+ border-radius: 16px;
overflow: auto;
}
.search-header {
display: flex;
- padding: 20px;
align-items: center;
- border-bottom: 1px solid var(--border);
gap: 12px;
+ padding: 20px;
+ border-bottom: 1px solid var(--border);
}
.search-input-wrapper {
position: relative;
display: flex;
- align-items: center;
flex: 1;
+ align-items: center;
}
.search-icon {
@@ -126,8 +126,8 @@ function handleKeydown(e: KeyboardEvent) {
}
.tab-content {
- min-height: 0;
flex: 1;
+ min-height: 0;
overflow: auto;
}
@@ -138,10 +138,10 @@ function handleKeydown(e: KeyboardEvent) {
.shortcuts {
display: flex;
- font-size: 13px;
- font-weight: 500;
- align-items: center;
flex-wrap: wrap;
+ align-items: center;
gap: 10px;
+ font-size: 13px;
+ font-weight: 500;
}
</style>
diff --git a/frontend/app/components/ContextMenuManager.vue b/frontend/app/components/ContextMenuManager.vue
index 812b315b..fa8a32be 100644
--- a/frontend/app/components/ContextMenuManager.vue
+++ b/frontend/app/components/ContextMenuManager.vue
@@ -178,21 +178,21 @@ const pos = computed(() => {
position: fixed;
z-index: 6000;
display: flex;
- background: var(--overlay-backdrop);
+ justify-content: center;
align-items: flex-end;
+ background: var(--overlay-backdrop);
inset: 0;
- justify-content: center;
}
.mobile-sheet {
display: flex;
+ flex-direction: column;
width: 100%;
min-height: 60vh;
max-height: 85vh;
border-radius: var(--surface-sheet-radius);
background: var(--surface-base);
animation: slide-up $transition-medium ease-out;
- flex-direction: column;
}
@keyframes slide-up {
@@ -207,11 +207,11 @@ const pos = computed(() => {
.mobile-sheet-header {
display: flex;
- padding: 12px 16px 8px;
- align-items: center;
- cursor: grab;
flex-shrink: 0;
justify-content: center;
+ align-items: center;
+ padding: 12px 16px 8px;
+ cursor: grab;
touch-action: none;
user-select: none;
diff --git a/frontend/app/components/DataTable.vue b/frontend/app/components/DataTable.vue
index 8a9d68bc..b19a24d3 100644
--- a/frontend/app/components/DataTable.vue
+++ b/frontend/app/components/DataTable.vue
@@ -152,8 +152,8 @@ export interface Field<V = unknown> {
header {
display: flex;
- padding: 0 10px;
align-items: center;
+ padding: 0 10px;
}
.wrapper {
@@ -176,8 +176,8 @@ th,
td {
> span {
display: inline-flex;
- width: 100%;
align-items: center;
+ width: 100%;
}
&.align-right > span {
@@ -202,8 +202,8 @@ th {
font-size: 13px;
color: var(--text-primary);
text-align: left;
- background: var(--surface-transparent);
text-transform: uppercase;
+ background: var(--surface-transparent);
&.align-right {
padding-right: 30px;
@@ -225,8 +225,8 @@ td {
.pagination {
display: flex;
- align-items: center;
justify-content: center;
+ align-items: center;
}
button {
@@ -253,8 +253,8 @@ button {
footer {
display: flex;
- width: 100%;
justify-content: space-between;
+ width: 100%;
}
select {
diff --git a/frontend/app/components/Error.vue b/frontend/app/components/Error.vue
index a066a7e0..86f9eea8 100644
--- a/frontend/app/components/Error.vue
+++ b/frontend/app/components/Error.vue
@@ -30,10 +30,10 @@ const handleError = computed(() => {
<style lang="scss" scoped>
.page-card {
display: flex;
- text-align: center;
- align-items: center;
flex-direction: column;
justify-content: center;
+ align-items: center;
+ text-align: center;
}
.error-content {
@@ -56,9 +56,9 @@ const handleError = computed(() => {
}
.error-description {
+ margin-bottom: 20px;
font-size: 16px;
color: var(--text-secondary);
- margin-bottom: 20px;
}
.error-button {
@@ -66,9 +66,9 @@ const handleError = computed(() => {
padding: 10px 20px;
border-radius: 5px;
color: white;
+ text-decoration: none;
background-color: var(--primary);
transition: background-color $transition-medium;
- text-decoration: none;
}
.error-button:hover {
diff --git a/frontend/app/components/FileInline.vue b/frontend/app/components/FileInline.vue
index 5977559e..3bf19f86 100644
--- a/frontend/app/components/FileInline.vue
+++ b/frontend/app/components/FileInline.vue
@@ -36,13 +36,13 @@ onBeforeUnmount(() => {
<style scoped lang="scss">
.file-card {
display: flex;
+ align-items: center;
+ gap: 0.75rem;
width: 100%;
padding: 0.5rem 0.75rem;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background-color: var(--surface-base);
- align-items: center;
- gap: 0.75rem;
.file-preview {
width: 48px;
@@ -52,16 +52,16 @@ onBeforeUnmount(() => {
}
.file-info {
- min-width: 0;
flex: 1;
+ min-width: 0;
.file-name {
display: block;
font-weight: 500;
color: var(--text-body);
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.file-size {
diff --git a/frontend/app/components/Icon.vue b/frontend/app/components/Icon.vue
index 4a52521b..88dae1bd 100644
--- a/frontend/app/components/Icon.vue
+++ b/frontend/app/components/Icon.vue
@@ -24,8 +24,8 @@ const isSpriteIcon = computed(() => {
<style scoped lang="scss">
.icon {
display: flex;
- align-items: center;
justify-content: center;
+ align-items: center;
pointer-events: none;
user-select: none;
diff --git a/frontend/app/components/Kanban/Board.vue b/frontend/app/components/Kanban/Board.vue
index c99feda5..4e564059 100644
--- a/frontend/app/components/Kanban/Board.vue
+++ b/frontend/app/components/Kanban/Board.vue
@@ -179,17 +179,17 @@ defineExpose({ resetKanbanData });
<style scoped lang="scss">
.kanban-board {
display: flex;
- height: 100%;
- min-height: 0;
flex: 1;
flex-direction: column;
+ height: 100%;
+ min-height: 0;
}
.board-content {
display: flex;
- padding: 8px 4px 16px;
flex: 1;
gap: 16px;
+ padding: 8px 4px 16px;
overflow: auto hidden;
}
@@ -200,8 +200,14 @@ defineExpose({ resetKanbanData });
.add-column-btn {
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ gap: 8px;
min-width: 200px;
height: stretch;
+ margin-top: auto;
+ margin-bottom: auto;
padding: 20px;
border: 2px dashed var(--border);
border-radius: var(--radius-lg);
@@ -209,13 +215,7 @@ defineExpose({ resetKanbanData });
font-weight: 500;
color: var(--text-secondary);
background: transparent;
- align-items: center;
cursor: pointer;
- flex-direction: column;
- gap: 8px;
- justify-content: center;
- margin-bottom: auto;
- margin-top: auto;
&:hover {
border-color: var(--primary);
diff --git a/frontend/app/components/Kanban/Card.vue b/frontend/app/components/Kanban/Card.vue
index 22a2a1f0..d75b6d69 100644
--- a/frontend/app/components/Kanban/Card.vue
+++ b/frontend/app/components/Kanban/Card.vue
@@ -73,8 +73,8 @@ const onDragEnd = () => {
.card-header {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
margin-bottom: 8px;
}
@@ -86,11 +86,11 @@ const onDragEnd = () => {
.card-icon {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 22px;
height: 22px;
border-radius: var(--radius-sm);
- align-items: center;
- justify-content: center;
:deep(svg) {
width: 16px;
@@ -112,13 +112,13 @@ const onDragEnd = () => {
.card-title {
display: block;
+ margin-bottom: 4px;
font-size: 14px;
font-weight: 600;
line-height: 1.3;
color: var(--text-primary);
- transition: color $transition-base;
- margin-bottom: 4px;
text-decoration: none;
+ transition: color $transition-base;
&:hover {
color: var(--primary);
@@ -139,17 +139,17 @@ const onDragEnd = () => {
.card-footer {
display: flex;
+ justify-content: space-between;
align-items: center;
gap: 8px;
- justify-content: space-between;
}
.card-tags {
display: flex;
- min-width: 0;
flex: 1;
flex-wrap: wrap;
gap: 4px;
+ min-width: 0;
}
.tag {
@@ -159,10 +159,10 @@ const onDragEnd = () => {
font-size: 10px;
font-weight: 500;
color: var(--text-secondary);
- background: var(--surface-raised);
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ background: var(--surface-raised);
+ overflow: hidden;
}
.card-date {
diff --git a/frontend/app/components/Kanban/Column.vue b/frontend/app/components/Kanban/Column.vue
index b3f7d156..da1702c4 100644
--- a/frontend/app/components/Kanban/Column.vue
+++ b/frontend/app/components/Kanban/Column.vue
@@ -183,12 +183,12 @@ onUnmounted(() => {
<style scoped lang="scss">
.kanban-column {
display: flex;
+ flex-direction: column;
min-width: 300px;
max-width: 320px;
padding: 12px;
border-radius: var(--radius-lg);
background: var(--surface-raised);
- flex-direction: column;
&.drag-over {
background: rgb(57 86 231 / 6%);
@@ -209,14 +209,14 @@ onUnmounted(() => {
}
.column-color-btn {
+ flex-shrink: 0;
width: 14px;
height: 14px;
padding: 0;
border: none;
border-radius: 50%;
- transition: transform $transition-base;
cursor: pointer;
- flex-shrink: 0;
+ transition: transform $transition-base;
&:hover {
transform: scale(1.2);
@@ -224,15 +224,15 @@ onUnmounted(() => {
}
.column-title {
+ flex: 1;
margin: 0;
padding: 2px 0;
border-radius: var(--radius-sm);
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
- transition: color $transition-base;
cursor: pointer;
- flex: 1;
+ transition: color $transition-base;
&:hover {
color: var(--primary);
@@ -240,6 +240,7 @@ onUnmounted(() => {
}
.column-title-input {
+ flex: 1;
padding: 4px 8px;
border: 1px solid var(--primary);
border-radius: var(--radius-sm);
@@ -248,7 +249,6 @@ onUnmounted(() => {
color: var(--text-primary);
background: var(--surface-base);
box-shadow: 0 0 0 3px rgb(57 86 231 / 10%);
- flex: 1;
outline: none;
}
@@ -269,6 +269,8 @@ onUnmounted(() => {
.action-btn {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 28px;
height: 28px;
padding: 0;
@@ -276,9 +278,7 @@ onUnmounted(() => {
border-radius: var(--radius-sm);
color: var(--text-secondary);
background: transparent;
- align-items: center;
cursor: pointer;
- justify-content: center;
&:hover {
color: var(--text-body);
@@ -303,14 +303,14 @@ onUnmounted(() => {
left: 0;
z-index: 10;
display: flex;
+ flex-wrap: wrap;
+ gap: 6px;
max-width: 180px;
padding: 10px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--surface-base);
box-shadow: var(--shadow-sm-md);
- flex-wrap: wrap;
- gap: 6px;
}
.color-option {
@@ -333,33 +333,33 @@ onUnmounted(() => {
.column-content {
display: flex;
+ flex: 1;
+ flex-direction: column;
+ gap: 8px;
min-height: 120px;
max-height: 60vh;
margin: -4px;
padding: 4px;
- flex: 1;
- flex-direction: column;
- gap: 8px;
overflow-y: auto;
}
.empty-state {
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
padding: 32px 16px;
border: 2px dashed var(--border);
border-radius: var(--radius-md);
color: var(--text-secondary);
text-align: center;
- align-items: center;
- flex-direction: column;
- justify-content: center;
:deep(svg) {
width: 24px;
height: 24px;
+ margin-bottom: 8px;
opacity: 0.5;
fill: currentcolor;
- margin-bottom: 8px;
}
p {
@@ -376,7 +376,11 @@ onUnmounted(() => {
.add-card-btn {
display: flex;
+ justify-content: center;
+ align-items: center;
+ gap: 6px;
width: 100%;
+ margin-top: 12px;
padding: 10px;
border: none;
border-radius: var(--radius-md);
@@ -384,11 +388,7 @@ onUnmounted(() => {
font-weight: 500;
color: var(--text-secondary);
background: var(--surface-base);
- align-items: center;
cursor: pointer;
- gap: 6px;
- justify-content: center;
- margin-top: 12px;
&:hover {
color: var(--primary);
diff --git a/frontend/app/components/Kanban/DeleteColumn.modal.vue b/frontend/app/components/Kanban/DeleteColumn.modal.vue
index 09d981e0..1aa014c6 100644
--- a/frontend/app/components/Kanban/DeleteColumn.modal.vue
+++ b/frontend/app/components/Kanban/DeleteColumn.modal.vue
@@ -39,7 +39,7 @@ const confirmDelete = () => {
}
.info {
- color: var(--text-secondary);
font-style: italic;
+ color: var(--text-secondary);
}
</style>
diff --git a/frontend/app/components/LoaderSpinner.vue b/frontend/app/components/LoaderSpinner.vue
index d62c78d8..8918c64b 100644
--- a/frontend/app/components/LoaderSpinner.vue
+++ b/frontend/app/components/LoaderSpinner.vue
@@ -8,9 +8,9 @@
height: 50px;
margin: 20px auto;
border: 5px solid #f3f3f3;
+ border-top: 5px solid var(--primary);
border-radius: 50%;
animation: spin 1s linear infinite;
- border-top: 5px solid var(--primary);
}
@keyframes spin {
diff --git a/frontend/app/components/MarkdownEditor/ColorPickerModal.vue b/frontend/app/components/MarkdownEditor/ColorPickerModal.vue
index 357e097b..fddcfae6 100644
--- a/frontend/app/components/MarkdownEditor/ColorPickerModal.vue
+++ b/frontend/app/components/MarkdownEditor/ColorPickerModal.vue
@@ -63,9 +63,9 @@ watch(selectedColor, val => (hex.value = val));
<style scoped lang="scss">
.modal-ctn {
display: flex;
- padding: 16px;
flex-direction: column;
gap: 12px;
+ padding: 16px;
}
.modal-content {
@@ -82,18 +82,18 @@ watch(selectedColor, val => (hex.value = val));
.swatches {
display: flex;
flex-wrap: wrap;
- gap: 8px;
justify-content: space-evenly;
+ gap: 8px;
}
.swatch {
display: flex;
+ justify-content: center;
width: 45px;
height: 45px;
border-radius: var(--radius-md);
- transition: transform $transition-fast ease;
cursor: pointer;
- justify-content: center;
+ transition: transform $transition-fast ease;
&:hover {
transform: scale(1.1);
diff --git a/frontend/app/components/MarkdownEditor/DrawioSidebar.vue b/frontend/app/components/MarkdownEditor/DrawioSidebar.vue
index caeda4ec..9f43731e 100644
--- a/frontend/app/components/MarkdownEditor/DrawioSidebar.vue
+++ b/frontend/app/components/MarkdownEditor/DrawioSidebar.vue
@@ -25,45 +25,45 @@ defineProps<{ diagrams: Node[] }>();
<style scoped lang="scss">
.drawio-sidebar {
display: flex;
+ flex-direction: column;
+ gap: 12px;
max-height: 45%;
padding: 12px;
- background: var(--surface-base);
border-top: 1px solid var(--border);
- flex-direction: column;
- gap: 12px;
+ background: var(--surface-base);
overflow: hidden auto;
}
.sidebar-header {
display: flex;
align-items: center;
- border-bottom: 1px solid var(--border);
padding-bottom: 8px;
+ border-bottom: 1px solid var(--border);
}
.header-title {
display: flex;
+ align-items: center;
+ gap: 8px;
font-size: 12px;
font-weight: 600;
color: var(--text-secondary);
- align-items: center;
- gap: 8px;
- letter-spacing: 0.5px;
text-transform: uppercase;
+ letter-spacing: 0.5px;
}
.badge {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 20px;
height: 20px;
+ margin-left: auto;
border-radius: 50%;
font-size: 11px;
font-weight: 700;
color: var(--primary);
background: var(--primary-bg);
- align-items: center;
- justify-content: center;
- margin-left: auto;
}
.diagrams-list {
diff --git a/frontend/app/components/MarkdownEditor/EditorAppHeader.vue b/frontend/app/components/MarkdownEditor/EditorAppHeader.vue
index fdedcf43..afc3a84a 100644
--- a/frontend/app/components/MarkdownEditor/EditorAppHeader.vue
+++ b/frontend/app/components/MarkdownEditor/EditorAppHeader.vue
@@ -18,22 +18,22 @@ defineProps<{ icon: string; title: string; subtitle?: string }>();
<style scoped lang="scss">
.modal-header {
display: flex;
+ flex-shrink: 0;
+ flex-direction: column;
+ align-items: center;
padding: 16px 0 0;
text-align: center;
- align-items: center;
- flex-direction: column;
- flex-shrink: 0;
.header-icon {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 48px;
height: 48px;
+ margin-bottom: 16px;
border-radius: 16px;
color: white;
background: linear-gradient(135deg, var(--primary), var(--primary-dark, var(--primary)));
- align-items: center;
- justify-content: center;
- margin-bottom: 16px;
}
h3 {
@@ -41,9 +41,9 @@ defineProps<{ icon: string; title: string; subtitle?: string }>();
font-size: 24px;
font-weight: 800;
color: var(--text-primary);
+ letter-spacing: -0.8px;
background: linear-gradient(135deg, var(--text-primary), var(--primary));
background-clip: text;
- letter-spacing: -0.8px;
-webkit-text-fill-color: transparent;
}
diff --git a/frontend/app/components/MarkdownEditor/EditorPreferences.vue b/frontend/app/components/MarkdownEditor/EditorPreferences.vue
index 6fc716ec..f2a0973f 100644
--- a/frontend/app/components/MarkdownEditor/EditorPreferences.vue
+++ b/frontend/app/components/MarkdownEditor/EditorPreferences.vue
@@ -41,8 +41,8 @@ const store = usePreferencesStore();
}
form {
- padding: 0 5px 25px;
flex: 1;
+ padding: 0 5px 25px;
overflow-y: auto;
}
diff --git a/frontend/app/components/MarkdownEditor/GridOrganizationModal.vue b/frontend/app/components/MarkdownEditor/GridOrganizationModal.vue
index 0420f707..70f5b3d6 100644
--- a/frontend/app/components/MarkdownEditor/GridOrganizationModal.vue
+++ b/frontend/app/components/MarkdownEditor/GridOrganizationModal.vue
@@ -98,16 +98,16 @@ const generateGridMarkdown = (columns: number, rows: number): string => {
<style scoped lang="scss">
.table-grid {
display: grid;
+ grid-template-columns: repeat(12, 1fr);
+ gap: 4px;
max-width: 350px;
+ margin-right: auto;
+ margin-bottom: 16px;
+ margin-left: auto;
padding: 4px;
border: 2px solid var(--border);
border-radius: var(--radius-md);
background: var(--surface-base);
- gap: 4px;
- grid-template-columns: repeat(12, 1fr);
- margin-bottom: 16px;
- margin-left: auto;
- margin-right: auto;
}
.table-row {
@@ -119,11 +119,11 @@ const generateGridMarkdown = (columns: number, rows: number): string => {
width: 16px;
height: 16px;
border: 1px solid var(--border);
+ cursor: pointer;
transition:
border-color $transition-base ease,
background-color $transition-base ease,
opacity $transition-base ease;
- cursor: pointer;
&:hover {
z-index: 2;
@@ -149,6 +149,8 @@ const generateGridMarkdown = (columns: number, rows: number): string => {
.table-info {
max-width: 400px;
min-height: 20px;
+ margin-right: auto;
+ margin-left: auto;
padding: 12px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
@@ -156,15 +158,13 @@ const generateGridMarkdown = (columns: number, rows: number): string => {
font-weight: 500;
text-align: center;
box-shadow: var(--shadow-md);
- margin-left: auto;
- margin-right: auto;
}
@media (width <= 768px) {
.table-grid {
- max-width: 300px;
- gap: 1px;
grid-template-columns: repeat(8, 1fr);
+ gap: 1px;
+ max-width: 300px;
.table-cell {
width: 14px;
diff --git a/frontend/app/components/MarkdownEditor/ImageSelectorModal.vue b/frontend/app/components/MarkdownEditor/ImageSelectorModal.vue
index 9d7231c3..dc97639e 100644
--- a/frontend/app/components/MarkdownEditor/ImageSelectorModal.vue
+++ b/frontend/app/components/MarkdownEditor/ImageSelectorModal.vue
@@ -82,35 +82,35 @@ const selectImage = (image: Node) => {
}
.content {
+ gap: 24px;
min-height: 0;
padding: 0;
- gap: 24px;
- overflow-y: auto;
padding-right: 8px;
+ overflow-y: auto;
}
.search-bar {
+ flex-shrink: 0;
padding: 16px 0;
border-bottom: 1px solid var(--border);
- flex-shrink: 0;
}
.images-grid {
display: grid;
- padding: 16px 0;
flex: 1;
- gap: 16px;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
+ gap: 16px;
+ padding: 16px 0;
}
.image-item {
border: 2px solid transparent;
border-radius: var(--radius-md);
+ cursor: pointer;
transition:
border-color $transition-fast ease,
box-shadow $transition-fast ease,
transform $transition-fast ease;
- cursor: pointer;
&:hover {
border-color: var(--primary);
@@ -129,13 +129,13 @@ const selectImage = (image: Node) => {
.image-name {
display: block;
+ margin-bottom: 4px;
font-size: 14px;
font-weight: 500;
color: var(--text-primary);
- margin-bottom: 4px;
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.image-size {
@@ -148,10 +148,10 @@ const selectImage = (image: Node) => {
.no-images {
display: flex;
+ justify-content: center;
+ align-items: center;
height: 200px;
font-size: 16px;
color: var(--text-secondary);
- align-items: center;
- justify-content: center;
}
</style>
diff --git a/frontend/app/components/MarkdownEditor/MarkdownEditor.vue b/frontend/app/components/MarkdownEditor/MarkdownEditor.vue
index d2240ba7..d794b214 100644
--- a/frontend/app/components/MarkdownEditor/MarkdownEditor.vue
+++ b/frontend/app/components/MarkdownEditor/MarkdownEditor.vue
@@ -202,28 +202,29 @@ const autoSave = debounceDelayed(() => {
.editor-container {
display: flex;
- width: 100%;
- height: 100%;
flex-direction: column;
gap: 4px;
+ width: 100%;
+ height: 100%;
}
// Compact Document Metadata - Single line
.document-meta {
.line {
display: flex;
- align-items: center;
flex-wrap: wrap;
+ align-items: center;
}
+ gap: 8px;
padding: 6px 10px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-base);
- gap: 8px;
}
.meta-title {
+ flex: 0 1 auto;
min-width: 120px;
max-width: 280px;
padding: 4px 8px;
@@ -233,9 +234,8 @@ const autoSave = debounceDelayed(() => {
font-weight: 600;
color: var(--text-primary);
background: transparent;
- transition: background $transition-fast ease;
- flex: 0 1 auto;
outline: none;
+ transition: background $transition-fast ease;
&:hover,
&:focus {
@@ -249,6 +249,7 @@ const autoSave = debounceDelayed(() => {
}
.meta-description {
+ flex: 1 1 150px;
min-width: 100px;
padding: 4px 8px;
border: none;
@@ -256,9 +257,8 @@ const autoSave = debounceDelayed(() => {
font-size: 0.85rem;
color: var(--text-body);
background: transparent;
- transition: background $transition-fast ease;
- flex: 1 1 150px;
outline: none;
+ transition: background $transition-fast ease;
&:hover,
&:focus {
@@ -274,20 +274,20 @@ const autoSave = debounceDelayed(() => {
// Editor Content Section
.editor-content {
display: flex;
- min-height: 0;
flex: 1;
gap: 8px;
+ min-height: 0;
}
.editor-panel,
.preview-panel {
display: flex;
+ flex: 1;
+ flex-direction: column;
min-width: 0;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-base);
- flex: 1;
- flex-direction: column;
overflow: hidden;
}
@@ -297,18 +297,18 @@ const autoSave = debounceDelayed(() => {
.panel-header {
display: flex;
- padding: 6px 12px;
- background: var(--surface-transparent);
align-items: center;
+ padding: 6px 12px;
border-bottom: 1px solid var(--border);
+ background: var(--surface-transparent);
}
.panel-label {
font-size: 10px;
font-weight: 600;
color: var(--text-secondary);
- letter-spacing: 0.5px;
text-transform: uppercase;
+ letter-spacing: 0.5px;
}
.codemirror-editor {
@@ -329,9 +329,9 @@ const autoSave = debounceDelayed(() => {
}
.markdown-preview {
+ flex: 1;
padding: 12px 16px;
background: var(--surface-base);
- flex: 1;
overflow: auto;
}
@@ -357,10 +357,10 @@ const autoSave = debounceDelayed(() => {
@media (width <= 600px) {
.document-meta {
- padding: 8px 10px;
- align-items: stretch;
flex-direction: column;
+ align-items: stretch;
gap: 4px;
+ padding: 8px 10px;
}
.meta-title,
diff --git a/frontend/app/components/MarkdownEditor/Toolbar.vue b/frontend/app/components/MarkdownEditor/Toolbar.vue
index e9c0a5a4..1afd9bcf 100644
--- a/frontend/app/components/MarkdownEditor/Toolbar.vue
+++ b/frontend/app/components/MarkdownEditor/Toolbar.vue
@@ -79,7 +79,7 @@
<div :class="['toolbar-divider', { 'no-mobile': mobileSimplifiedView }]" />
<!-- Voice & Category -->
- <div class="toolbar-group" style="align-items: center; flex: 1; flex-direction: row; gap: 4px">
+ <div class="toolbar-group" style=" flex: 1; flex-direction: row;align-items: center; gap: 4px">
<div class="group-buttons">
<VoiceRecognition :class="{ 'no-mobile': mobileSimplifiedView }" @transcription="handleTranscription" />
</div>
@@ -215,17 +215,17 @@ const actionTools = computed<ToolItem[]>(() => [{ name: t('markdown.toolbar.prev
<style scoped lang="scss">
.toolbar {
display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 4px 6px;
width: 100%;
+ margin-top: 8px;
padding: 6px 10px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-base);
box-shadow: var(--shadow-sm);
transition: box-shadow $transition-base ease;
- align-items: center;
- flex-wrap: wrap;
- gap: 4px 6px;
- margin-top: 8px;
overflow-x: clip;
user-select: none;
@@ -242,15 +242,17 @@ const actionTools = computed<ToolItem[]>(() => [{ name: t('markdown.toolbar.prev
.group-buttons {
display: flex;
+ gap: 1px;
padding: 3px;
border-radius: var(--radius-sm);
background: var(--surface-transparent);
- gap: 1px;
}
.toolbar-btn {
position: relative;
display: flex;
+ justify-content: center;
+ align-items: center;
width: 28px;
height: 28px;
margin: 0;
@@ -258,18 +260,16 @@ const actionTools = computed<ToolItem[]>(() => [{ name: t('markdown.toolbar.prev
border: none;
border-radius: 5px;
background: transparent;
- transition: background-color 0.15s ease;
- align-items: center;
cursor: pointer;
- justify-content: center;
+ transition: background-color 0.15s ease;
&:hover {
background: var(--surface-overlay);
.tooltip {
opacity: 1;
- transform: translateX(-50%) translateY(0);
visibility: visible;
+ transform: translateX(-50%) translateY(0);
}
}
}
@@ -309,34 +309,34 @@ const actionTools = computed<ToolItem[]>(() => [{ name: t('markdown.toolbar.prev
left: 50%;
z-index: 1000;
display: flex;
+ align-items: center;
+ gap: 6px;
padding: 6px 10px;
border-radius: var(--radius-sm);
font-size: 11px;
font-weight: 500;
color: var(--surface-base);
+ white-space: nowrap;
background: var(--text-inverse);
box-shadow: var(--shadow-md);
opacity: 0;
+ visibility: hidden;
transition:
opacity $transition-base ease,
transform $transition-base ease,
visibility $transition-base ease;
- align-items: center;
- gap: 6px;
- pointer-events: none;
transform: translateX(-50%) translateY(-4px);
- visibility: hidden;
- white-space: nowrap;
+ pointer-events: none;
&::before {
position: absolute;
top: -4px;
left: 50%;
+ border-right: 5px solid transparent;
border-bottom: 5px solid var(--text-inverse);
border-left: 5px solid transparent;
- border-right: 5px solid transparent;
- content: '';
transform: translateX(-50%);
+ content: '';
}
kbd {
@@ -363,20 +363,20 @@ const actionTools = computed<ToolItem[]>(() => [{ name: t('markdown.toolbar.prev
.stats-badge {
display: flex;
+ align-items: center;
+ gap: 6px;
padding: 3px 10px;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: linear-gradient(135deg, var(--surface-raised) 0%, var(--surface-overlay) 100%);
- align-items: center;
- gap: 6px;
}
.stat-item {
display: flex;
- line-height: 1.1;
- align-items: center;
flex-direction: column;
+ align-items: center;
gap: 0;
+ line-height: 1.1;
}
.stat-value {
@@ -389,8 +389,8 @@ const actionTools = computed<ToolItem[]>(() => [{ name: t('markdown.toolbar.prev
.stat-label {
font-size: 9px;
color: var(--text-secondary);
- letter-spacing: 0.3px;
text-transform: uppercase;
+ letter-spacing: 0.3px;
}
.stat-divider {
@@ -401,19 +401,19 @@ const actionTools = computed<ToolItem[]>(() => [{ name: t('markdown.toolbar.prev
.action-buttons {
display: flex;
+ gap: 3px;
padding: 3px;
border-radius: var(--radius-sm);
background: var(--surface-transparent);
- gap: 3px;
}
.action-divider {
+ align-self: center;
width: 1px;
height: 18px;
margin: 0 2px;
background: var(--border);
opacity: 0.5;
- align-self: center;
}
.category-select {
@@ -424,8 +424,8 @@ const actionTools = computed<ToolItem[]>(() => [{ name: t('markdown.toolbar.prev
@media (width <= 900px) {
.toolbar {
- padding: 6px 8px;
gap: 4px;
+ padding: 6px 8px;
}
.toolbar-btn {
diff --git a/frontend/app/components/MarkdownEditor/VoiceRecognition.vue b/frontend/app/components/MarkdownEditor/VoiceRecognition.vue
index 1a70b80c..c940fcd5 100644
--- a/frontend/app/components/MarkdownEditor/VoiceRecognition.vue
+++ b/frontend/app/components/MarkdownEditor/VoiceRecognition.vue
@@ -112,6 +112,8 @@ onUnmounted(() => {
<style scoped lang="scss">
button {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 28px;
height: 28px;
margin: 0;
@@ -119,9 +121,7 @@ button {
border: none;
border-radius: 5px;
background: transparent;
- align-items: center;
cursor: pointer;
- justify-content: center;
&:hover {
background-color: var(--surface-overlay);
diff --git a/frontend/app/components/MarkdownSyntax.vue b/frontend/app/components/MarkdownSyntax.vue
index 211d267c..dddcfc10 100644
--- a/frontend/app/components/MarkdownSyntax.vue
+++ b/frontend/app/components/MarkdownSyntax.vue
@@ -242,7 +242,10 @@ graph TD
<li><strong>Task lists:</strong> <code>- [ ] Todo</code>, <code>- [x] Done</code></li>
<li>
<strong>Tables:</strong><br />
- <pre style="margin: 10px 0; padding: 0.75rem; border-radius: var(--radius-sm); color: white; overflow-x: auto">
+ <pre style="margin: 10px 0; padding: 0.75rem;
+ border-radius: var(--radius-sm);
+ color: white;
+ overflow-x: auto">
| Column 1 | Column 2 |
|-----------|-----------|
| Cell 1 | Cell 2 |</pre
@@ -268,7 +271,9 @@ 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="font-size: 0.9rem; border-top: 1px solid var(--border); margin-top: 1rem; padding-top: 0.5rem">
+ <section class="footnotes" style=" margin-top: 1rem; padding-top: 0.5rem;
+ border-top: 1px solid var(--border);
+font-size: 0.9rem">
<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>
@@ -299,17 +304,17 @@ const { t } = useI18nT();
h1 {
display: flex;
- margin: 0;
align-items: center;
+ margin: 0;
}
h2 {
display: flex;
- font-size: 1.3rem;
- color: var(--primary);
align-items: center;
gap: 0.5rem;
margin-top: 2rem;
+ font-size: 1.3rem;
+ color: var(--primary);
}
code {
@@ -321,9 +326,9 @@ code {
.demo {
display: flex;
- width: 100%;
flex-wrap: wrap;
gap: 1rem;
+ width: 100%;
margin-bottom: 1rem;
pre {
@@ -340,18 +345,18 @@ code {
}
.custom-block pre {
+ margin-top: 0.5rem;
padding: 0.5rem;
border-radius: var(--radius-sm);
font-family: $font-mono;
font-size: 0.85rem;
background: rgb(255 255 255 / 30%);
- margin-top: 0.5rem;
}
.block-grid {
display: grid;
- gap: 1rem;
grid-template-columns: repeat(3, 1fr);
+ gap: 1rem;
}
@media screen and (width <= 800px) {
diff --git a/frontend/app/components/MediumView.vue b/frontend/app/components/MediumView.vue
index 40601e48..d659fb7e 100644
--- a/frontend/app/components/MediumView.vue
+++ b/frontend/app/components/MediumView.vue
@@ -14,11 +14,11 @@ const marginLeft = computed(() => (isMobile.value || !isOpened.value ? '10px' :
<style scoped lang="scss">
main {
display: flex;
+ flex-direction: column;
width: 100%;
height: 100%;
padding: 0 10px;
transition: padding-left $transition-medium;
- flex-direction: column;
}
@media print {
diff --git a/frontend/app/components/ModalManager.vue b/frontend/app/components/ModalManager.vue
index bbc3ae38..f629eb1a 100644
--- a/frontend/app/components/ModalManager.vue
+++ b/frontend/app/components/ModalManager.vue
@@ -134,10 +134,10 @@ onUnmounted(() => document.removeEventListener('keydown', handleKeydown));
@media screen and (width <= 600px) {
.modal-container {
display: flex;
- width: 95%;
- padding: 12px 0;
flex-direction: column;
justify-content: center;
+ width: 95%;
+ padding: 12px 0;
}
.close-btn {
diff --git a/frontend/app/components/Navbar.vue b/frontend/app/components/Navbar.vue
index 57ec2411..63e7d959 100644
--- a/frontend/app/components/Navbar.vue
+++ b/frontend/app/components/Navbar.vue
@@ -1,21 +1,21 @@
<template>
<header :class="{ 'header--has-tabs': tabEnabled }">
<div class="navbar">
- <div v-if="!isOpened && (!tabEnabled || isMobile)" class="navbar__left-trigger">
+ <div v-if="!isOpened && (!tabEnabled || isMobile)" class="navbar-left-trigger">
<AppBtnIcon icon="burger" class="open-sidebar" @click="toggleSidebar" />
</div>
- <div class="navbar__center">
- <div v-if="tabEnabled" class="navbar__tabs-wrapper">
+ <div class="navbar-center">
+ <div v-if="tabEnabled" class="navbar-tabs-wrapper">
<AppBtnIcon v-if="!isOpened && !isMobile" icon="burger" class="open-sidebar inline-burger" @click="toggleSidebar" />
- <Tab class="navbar__tabs" />
+ <Tab class="navbar-tabs" />
</div>
- <div id="navbar-title" class="navbar__title" />
+ <div id="navbar-title" class="navbar-title" />
</div>
- <div class="navbar__right">
- <div ref="desktopActionsZone" class="navbar__actions-wrapper" />
+ <div class="navbar-right">
+ <div ref="desktopActionsZone" class="navbar-actions-wrapper" />
<button
v-if="navbarItems.search"
@@ -26,14 +26,14 @@
@click="openCommandCenter"
>
<Icon name="search" display="lg" />
- <span v-if="!isMobile" class="search-btn__text">
+ <span v-if="!isMobile" class="search-btn-text">
<i18n-t scope="global" keypath="components.navbar.searchHint">
<template #key><kbd>/</kbd></template>
</i18n-t>
</span>
</button>
- <div id="navbar-infos" class="navbar__infos" />
+ <div id="navbar-infos" class="navbar-infos" />
<ThemeToggle v-if="navbarItems.theme" />
<div v-if="hasSubnav" class="subnav-toggle" :class="{ 'is-open': subnavOpen }">
@@ -47,13 +47,13 @@
</div>
<div class="subnav-wrapper" :class="{ 'subnav-wrapper--open': subnavOpen }" @vue:mounted="onSubnavMounted" @vue:updated="onSubnavMounted">
- <div ref="mobileActionsZone" class="navbar__actions-wrapper" />
+ <div ref="mobileActionsZone" class="navbar-actions-wrapper" />
<hr v-if="hasBottomContent && isMobile && hasActionsContent" />
<div id="navbar-bottom" />
</div>
<div style="display: none">
- <div id="navbar-actions" ref="navbarActionsEl" class="navbar__actions" />
+ <div id="navbar-actions" ref="navbarActionsEl" class="navbar-actions" />
</div>
</header>
</template>
@@ -130,7 +130,6 @@ watch(
<style lang="scss" scoped>
$navbar-height: 56px;
$secondary-height: 40px;
-$bp-md: 768px;
header {
width: 100%;
@@ -140,68 +139,47 @@ header {
.navbar {
display: flex;
- height: $navbar-height;
- padding: 0 4px;
+ justify-content: space-between;
align-items: center;
gap: 12px;
- justify-content: space-between;
+ height: $navbar-height;
+ padding: 0 4px;
}
-.navbar__left-trigger {
+.navbar-left-trigger {
display: flex;
- align-items: center;
flex-shrink: 0;
+ align-items: center;
}
-.navbar__center {
+.navbar-center {
display: flex;
flex: 1;
- min-width: 0;
align-items: center;
gap: 12px;
-}
-
-.navbar__title {
- display: flex;
min-width: 0;
- font-size: 17px;
- font-weight: 600;
- align-items: center;
- gap: 10px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- height: 100%;
}
/* Secondary Row (only if tabs are enabled) */
.header--has-tabs {
.navbar {
display: grid;
- grid-template-columns: auto minmax(0, 1fr) auto;
grid-template-rows: $navbar-height auto;
+ grid-template-columns: auto minmax(0, 1fr) auto;
+ gap: 0 12px;
height: auto;
padding-bottom: 8px;
- gap: 0 12px;
}
- .navbar__left-trigger {
+ .navbar-left-trigger {
grid-column: 1;
grid-row: 1;
}
- .navbar__center {
- grid-column: 2;
- grid-row: 1;
+ .navbar-center {
display: contents;
- }
-
- .navbar__tabs-wrapper {
- grid-column: 1 / span 2;
+ grid-column: 2;
grid-row: 1;
- display: flex;
- align-items: center;
- min-width: 0;
}
#navbar-title {
@@ -211,24 +189,19 @@ header {
padding-top: 4px;
}
- .navbar__right {
+ .navbar-right {
+ align-self: center;
grid-column: 3;
grid-row: 1;
- align-self: center;
}
}
-.navbar__tabs {
- flex: 1;
- min-width: 0;
-}
-
-.navbar__tabs-wrapper {
+.navbar-tabs-wrapper {
display: flex;
align-items: center;
+ gap: 8px;
width: 100%;
min-width: 0;
- gap: 8px;
.inline-burger {
flex-shrink: 0;
@@ -236,54 +209,55 @@ header {
}
}
-.navbar__tabs {
+.navbar-tabs {
flex: 1;
min-width: 0;
}
-.navbar__title {
+.navbar-title {
display: flex;
+ align-items: center;
+ gap: 10px;
min-width: 0;
+ height: 100%;
font-size: 17px;
font-weight: 600;
- align-items: center;
- gap: 10px;
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
/* Secondary Row */
-.navbar__secondary {
+.navbar-secondary {
display: flex;
- height: $secondary-height;
- padding: 0 2px 6px 2px;
- align-items: center;
justify-content: space-between;
+ align-items: center;
+ height: $secondary-height;
+ padding: 0 2px 6px;
}
-.navbar__secondary-left {
+.navbar-secondary-left {
display: flex;
align-items: center;
- min-width: 0;
gap: 8px;
+ min-width: 0;
}
/* Right Actions Side (Toujours fixe, ne saute jamais) */
-.navbar__right {
+.navbar-right {
display: flex;
- align-items: center;
flex-shrink: 0;
+ align-items: center;
gap: 6px;
}
-.navbar__actions-wrapper {
+.navbar-actions-wrapper {
display: flex;
align-items: center;
}
-.navbar__actions,
-.navbar__infos {
+.navbar-actions,
+.navbar-infos {
display: flex;
align-items: center;
gap: 6px;
@@ -291,6 +265,8 @@ header {
.search-btn {
display: inline-flex;
+ align-items: center;
+ gap: 6px;
height: 36px;
margin: 0;
padding: 0 12px;
@@ -299,14 +275,12 @@ header {
font-size: 14px;
font-weight: 500;
color: var(--text-secondary);
+ white-space: nowrap;
background: var(--border);
+ cursor: pointer;
transition:
background-color $transition-base ease,
transform $transition-base ease;
- align-items: center;
- cursor: pointer;
- gap: 6px;
- white-space: nowrap;
&:hover {
color: var(--text-primary);
@@ -319,11 +293,11 @@ header {
}
&--compact {
+ justify-content: center;
width: 36px;
padding: 0;
- justify-content: center;
- .search-btn__text {
+ .search-btn-text {
display: none;
}
}
@@ -343,7 +317,7 @@ kbd {
.subnav-toggle {
display: none;
- @media (max-width: #{$bp-md - 1px}) {
+ @media (width <= 768px) {
display: inline-flex;
}
@@ -371,11 +345,11 @@ kbd {
transition: max-height $transition-base ease;
overflow: hidden;
- .navbar__actions {
- width: 100%;
- padding: 10px 16px;
+ .navbar-actions {
flex-direction: column;
gap: 8px;
+ width: 100%;
+ padding: 10px 16px;
:deep(> *) {
width: 100%;
diff --git a/frontend/app/components/NavbarRouter.vue b/frontend/app/components/NavbarRouter.vue
index bb364ce1..f0dba631 100644
--- a/frontend/app/components/NavbarRouter.vue
+++ b/frontend/app/components/NavbarRouter.vue
@@ -35,16 +35,16 @@ router.afterEach(() => handleState(window.history.state));
<style lang="scss" scoped>
.nav {
display: inline-flex;
+ justify-content: center;
+ align-items: center;
min-width: 27px;
min-height: 27px;
padding: 0;
border-radius: 50%;
+ cursor: pointer;
transition:
background-color $transition-medium ease,
opacity $transition-medium ease;
- align-items: center;
- cursor: pointer;
- justify-content: center;
overflow: hidden;
&:hover:not(:disabled) {
diff --git a/frontend/app/components/Navigation/BreadCrumbs.vue b/frontend/app/components/Navigation/BreadCrumbs.vue
index a194af99..5e6ab766 100644
--- a/frontend/app/components/Navigation/BreadCrumbs.vue
+++ b/frontend/app/components/Navigation/BreadCrumbs.vue
@@ -58,9 +58,10 @@ watchEffect(() => {
--_fade: 12px;
display: flex;
+ align-items: center;
min-width: 0;
margin: 0;
- align-items: center;
+ white-space: nowrap;
list-style: none;
mask-image: linear-gradient(to right, transparent, black var(--_fade), black calc(100% - var(--_fade)), transparent);
-webkit-overflow-scrolling: touch;
@@ -68,7 +69,6 @@ watchEffect(() => {
padding-inline: 8px;
scroll-behavior: smooth;
scrollbar-width: none;
- white-space: nowrap;
&::-webkit-scrollbar {
display: none;
@@ -81,8 +81,8 @@ watchEffect(() => {
}
&__separator {
- opacity: 0.6;
flex-shrink: 0;
+ opacity: 0.6;
}
&__link {
@@ -91,10 +91,10 @@ watchEffect(() => {
font-size: 0.85rem;
font-weight: 500;
color: var(--text-secondary);
+ text-decoration: none;
transition:
background-color 0.15s ease,
color 0.15s ease;
- text-decoration: none;
&:hover {
color: var(--text-body);
diff --git a/frontend/app/components/Node/Action/ContextMenu.vue b/frontend/app/components/Node/Action/ContextMenu.vue
index 6ac04ac9..ae38c46e 100644
--- a/frontend/app/components/Node/Action/ContextMenu.vue
+++ b/frontend/app/components/Node/Action/ContextMenu.vue
@@ -107,11 +107,11 @@ async function action(name: string) {
.menu-header {
display: flex;
- padding: 8px 10px 12px;
align-items: center;
- border-bottom: 1px solid var(--border);
gap: 10px;
margin-bottom: 6px;
+ padding: 8px 10px 12px;
+ border-bottom: 1px solid var(--border);
.avatar {
width: 32px;
@@ -123,18 +123,18 @@ async function action(name: string) {
.header-info {
display: flex;
- min-width: 0;
flex-direction: column;
gap: 2px;
+ min-width: 0;
}
.header-name {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.header-meta {
@@ -146,14 +146,16 @@ async function action(name: string) {
padding: 2px 0;
& + & {
- border-top: 1px solid var(--border);
margin-top: 2px;
padding-top: 4px;
+ border-top: 1px solid var(--border);
}
}
.menu-item {
display: flex;
+ align-items: center;
+ gap: 10px;
width: 100%;
padding: 4px 10px;
border: none;
@@ -163,21 +165,19 @@ async function action(name: string) {
color: var(--text-body);
text-align: left;
background: none;
- transition: background 0.1s;
- align-items: center;
cursor: pointer;
- gap: 10px;
+ transition: background 0.1s;
&:hover {
background: var(--surface-raised);
}
kbd {
+ margin-left: auto;
padding: 2px 5px;
font-size: 10px;
color: var(--text-secondary);
background: var(--surface-raised);
- margin-left: auto;
}
&.delete {
diff --git a/frontend/app/components/Node/Action/ResourceContextMenu.vue b/frontend/app/components/Node/Action/ResourceContextMenu.vue
index c6e2cac7..45221bda 100644
--- a/frontend/app/components/Node/Action/ResourceContextMenu.vue
+++ b/frontend/app/components/Node/Action/ResourceContextMenu.vue
@@ -93,11 +93,11 @@ async function action(name: string) {
.menu-header {
display: flex;
- padding: 8px 10px 12px;
align-items: center;
- border-bottom: 1px solid var(--border);
gap: 10px;
margin-bottom: 6px;
+ padding: 8px 10px 12px;
+ border-bottom: 1px solid var(--border);
.avatar {
width: 32px;
@@ -109,18 +109,18 @@ async function action(name: string) {
.header-info {
display: flex;
- min-width: 0;
flex-direction: column;
gap: 2px;
+ min-width: 0;
}
.header-name {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.header-meta {
@@ -132,14 +132,16 @@ async function action(name: string) {
padding: 2px 0;
& + & {
- border-top: 1px solid var(--border);
margin-top: 2px;
padding-top: 4px;
+ border-top: 1px solid var(--border);
}
}
.menu-item {
display: flex;
+ align-items: center;
+ gap: 10px;
width: 100%;
padding: 4px 10px;
border: none;
@@ -149,10 +151,8 @@ async function action(name: string) {
color: var(--text-body);
text-align: left;
background: none;
- transition: background 0.1s;
- align-items: center;
cursor: pointer;
- gap: 10px;
+ transition: background 0.1s;
&:hover {
background: var(--surface-raised);
diff --git a/frontend/app/components/Node/Card/NodeCard.vue b/frontend/app/components/Node/Card/NodeCard.vue
index aa7d815a..1a0f43b1 100644
--- a/frontend/app/components/Node/Card/NodeCard.vue
+++ b/frontend/app/components/Node/Card/NodeCard.vue
@@ -2,7 +2,8 @@
<div class="document-card" @contextmenu.prevent="openContextMenu">
<div class="top">
<div class="header">
- <span style="display: flex; align-items: center; gap: 10px; overflow: hidden">
+ <span style="display: flex; align-items: center; gap: 10px;
+ overflow: hidden">
<Icon :name="category?.icon || 'files'" display="xl" :class="['category-icon', getAppAccent(node.color || category?.color, true)]" />
<NuxtLink :to="`/dashboard/docs/${node.id}`" class="document-title">{{ node.name }}</NuxtLink>
</span>
@@ -60,6 +61,8 @@ function openContextMenu(event: MouseEvent) {
<style scoped lang="scss">
.document-card {
display: flex;
+ flex-direction: column;
+ justify-content: space-between;
max-width: 380px;
min-height: 250px;
border: 1px solid var(--border);
@@ -69,8 +72,6 @@ function openContextMenu(event: MouseEvent) {
transition:
border-color $transition-base ease,
box-shadow $transition-base ease;
- flex-direction: column;
- justify-content: space-between;
&:hover {
border-color: var(--border-strong);
@@ -80,9 +81,9 @@ function openContextMenu(event: MouseEvent) {
.header {
display: flex;
- padding: 14px 14px 8px;
- align-items: center;
justify-content: space-between;
+ align-items: center;
+ padding: 14px 14px 8px;
}
.category-icon {
@@ -91,14 +92,14 @@ function openContextMenu(event: MouseEvent) {
}
.document-title {
+ flex: 1;
font-size: 17px;
font-weight: 600;
line-height: 1.3;
color: var(--text-primary);
+ text-overflow: ellipsis;
transition: color 0.15s;
- flex: 1;
overflow: hidden;
- text-overflow: ellipsis;
&:hover {
color: var(--primary);
@@ -106,15 +107,15 @@ function openContextMenu(event: MouseEvent) {
}
.body {
- padding: 0 14px;
flex: 1;
+ padding: 0 14px;
}
.category {
+ padding-bottom: 8px;
font-size: 13px;
font-weight: 500;
color: var(--text-secondary);
- padding-bottom: 8px;
}
.description {
@@ -123,8 +124,8 @@ function openContextMenu(event: MouseEvent) {
font-size: 14px;
line-height: 1.5;
color: var(--text-secondary);
- overflow: hidden;
text-overflow: ellipsis;
+ overflow: hidden;
}
.tags {
@@ -136,14 +137,14 @@ function openContextMenu(event: MouseEvent) {
footer {
display: flex;
+ justify-content: space-between;
+ align-items: center;
padding: 10px 14px;
+ border-top: 1px solid var(--border);
border-radius: 0 0 11px 11px;
font-size: 12px;
color: var(--text-secondary);
background: var(--surface-raised);
- align-items: center;
- border-top: 1px solid var(--border);
- justify-content: space-between;
}
.footer-item {
diff --git a/frontend/app/components/Node/Card/Recent.vue b/frontend/app/components/Node/Card/Recent.vue
index 17254d4d..6cb57d9e 100644
--- a/frontend/app/components/Node/Card/Recent.vue
+++ b/frontend/app/components/Node/Card/Recent.vue
@@ -60,10 +60,9 @@ const computedTags = computed(() => {
padding: 1.25rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
- background: var(--surface-base);
color: var(--text-body);
text-decoration: none;
-
+ background: var(--surface-base);
transition:
border-color $transition-fast ease,
background-color $transition-fast ease,
@@ -80,15 +79,15 @@ const computedTags = computed(() => {
.header {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
margin-bottom: 1rem;
}
.icon-wrapper {
display: flex;
- align-items: center;
justify-content: center;
+ align-items: center;
}
.node-icon {
@@ -104,32 +103,32 @@ const computedTags = computed(() => {
.card-body {
display: flex;
- flex-direction: column;
flex: 1;
+ flex-direction: column;
}
.title {
+ margin: 0 0 0.35rem;
font-size: 1rem;
font-weight: 600;
line-height: 1.4;
- margin: 0 0 0.35rem 0;
color: var(--text-body);
+ text-overflow: ellipsis;
+ white-space: nowrap;
// SΓ©curitΓ© anti-dΓ©bordement
overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
}
.desc {
display: -webkit-box;
+ margin: 0 0 1rem;
font-size: 0.85rem;
line-height: 1.5;
color: var(--text-secondary);
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
- margin: 0 0 1rem 0;
overflow: hidden;
}
@@ -137,19 +136,19 @@ const computedTags = computed(() => {
display: flex;
align-items: center;
gap: 0.5rem;
+ min-width: 0;
margin-top: auto;
padding-top: 0.5rem;
- min-width: 0;
}
.category {
+ max-width: 110px;
font-size: 0.75rem;
font-weight: 600;
color: var(--text-secondary);
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
- max-width: 110px;
+ overflow: hidden;
}
.meta-separator {
@@ -160,20 +159,20 @@ const computedTags = computed(() => {
.tags {
display: flex;
- gap: 0.35rem;
flex-wrap: wrap;
+ gap: 0.35rem;
}
.tag-badge {
display: inline-flex;
align-items: center;
padding: 0.15rem 0.45rem;
+ border: 1px solid var(--border);
+ border-radius: var(--radius-xs);
font-size: 0.72rem;
font-weight: 600;
- border-radius: var(--radius-xs);
- background: var(--surface-raised);
- border: 1px solid var(--border);
color: var(--text-secondary);
+ background: var(--surface-raised);
.card:hover & {
background: var(--surface-base);
diff --git a/frontend/app/components/Node/Card/Team.vue b/frontend/app/components/Node/Card/Team.vue
index 27ee5c23..beb3f2af 100644
--- a/frontend/app/components/Node/Card/Team.vue
+++ b/frontend/app/components/Node/Card/Team.vue
@@ -34,20 +34,20 @@ const { t } = useI18nT();
<style scoped lang="scss">
a {
display: flex;
+ flex-direction: column;
+ gap: 1rem;
min-height: 220px;
padding: 1.1rem;
border: 1px solid var(--border);
border-radius: var(--radius-xl);
color: var(--text-body);
+ text-decoration: none;
background: linear-gradient(180deg, var(--surface-base), var(--surface-raised));
box-shadow: var(--shadow-sm);
transition:
transform 0.18s ease,
box-shadow 0.18s ease,
border-color 0.18s ease;
- flex-direction: column;
- gap: 1rem;
- text-decoration: none;
&:hover {
border-color: var(--border-strong);
@@ -64,10 +64,10 @@ a {
.avatar {
display: grid;
+ flex: none;
width: 72px;
height: 72px;
border-radius: 22px;
- flex: none;
overflow: hidden;
place-items: center;
}
@@ -94,9 +94,9 @@ a {
.team-footer {
display: flex;
+ justify-content: space-between;
align-items: center;
gap: 0.5rem;
- justify-content: space-between;
margin-top: auto;
}
diff --git a/frontend/app/components/Node/Card/Workspace.vue b/frontend/app/components/Node/Card/Workspace.vue
index 689e0b8c..371882e6 100644
--- a/frontend/app/components/Node/Card/Workspace.vue
+++ b/frontend/app/components/Node/Card/Workspace.vue
@@ -60,20 +60,19 @@ const docCount = computed(() => {
.workspace-tile {
position: relative;
display: flex;
+ flex-direction: column;
height: 100%;
padding: 1.25rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-base);
- flex-direction: column;
- overflow: hidden;
cursor: pointer;
-
transition:
border-color $transition-fast ease,
background-color $transition-fast ease,
box-shadow $transition-fast ease,
transform $transition-fast cubic-bezier(0.25, 1, 0.5, 1);
+ overflow: hidden;
&:hover {
border-color: var(--primary);
@@ -90,6 +89,7 @@ const docCount = computed(() => {
.ws-icon {
transform: scale(1.05);
}
+
.status-dot {
box-shadow: 0 0 8px var(--primary);
}
@@ -106,11 +106,11 @@ const docCount = computed(() => {
height: 60%;
background: radial-gradient(circle, color-mix(in srgb, var(--primary) 25%, transparent) 0%, transparent 75%);
opacity: 0;
- pointer-events: none;
- filter: blur(30px);
transition:
opacity $transition-base ease,
transform $transition-base ease;
+ filter: blur(30px);
+ pointer-events: none;
}
.tile-content {
@@ -123,19 +123,19 @@ const docCount = computed(() => {
.top-row {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
margin-bottom: 1.25rem;
}
.icon-box {
position: relative;
display: flex;
+ justify-content: center;
+ align-items: center;
width: 2.5rem;
height: 2.5rem;
border-radius: var(--radius-md);
- align-items: center;
- justify-content: center;
.ws-icon {
font-size: 1.25rem;
@@ -179,18 +179,18 @@ const docCount = computed(() => {
}
.meta-zone {
- margin-bottom: 1.25rem;
flex: 1;
+ margin-bottom: 1.25rem;
.ws-title {
- margin: 0 0 0.35rem 0;
+ margin: 0 0 0.35rem;
font-size: 1.05rem;
font-weight: 600;
color: var(--text-body);
- letter-spacing: -0.01em;
- overflow: hidden;
text-overflow: ellipsis;
+ letter-spacing: -0.01em;
white-space: nowrap;
+ overflow: hidden;
}
.ws-description {
@@ -207,28 +207,28 @@ const docCount = computed(() => {
}
.tile-footer {
- border-top: 1px solid var(--border);
margin-top: auto;
padding-top: 0.75rem;
+ border-top: 1px solid var(--border);
}
.category-pills {
display: flex;
+ flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
- flex-wrap: wrap;
min-width: 0;
.pill {
position: relative;
+ max-width: 100px;
+ padding-left: 0.5rem;
font-size: 0.75rem;
font-weight: 600;
color: var(--text-secondary);
- padding-left: 0.5rem;
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
- max-width: 100px;
+ overflow: hidden;
&::before {
position: absolute;
@@ -238,8 +238,8 @@ const docCount = computed(() => {
height: 4px;
border-radius: 50%;
background: var(--border);
- content: '';
transform: translateY(-50%);
+ content: '';
}
}
@@ -247,12 +247,12 @@ const docCount = computed(() => {
display: inline-flex;
align-items: center;
padding: 0.15rem 0.35rem;
+ border: 1px solid var(--border);
border-radius: var(--radius-xs);
font-size: 0.7rem;
font-weight: 600;
color: var(--text-secondary);
background: var(--surface-raised);
- border: 1px solid var(--border);
.workspace-tile:hover & {
background: var(--surface-base);
diff --git a/frontend/app/components/Node/ContainerView.vue b/frontend/app/components/Node/ContainerView.vue
index 7d458be5..682aba98 100644
--- a/frontend/app/components/Node/ContainerView.vue
+++ b/frontend/app/components/Node/ContainerView.vue
@@ -183,10 +183,10 @@ header {
h1 {
display: flex;
- font-size: 18px;
- font-weight: 600;
align-items: center;
gap: 12px;
+ font-size: 18px;
+ font-weight: 600;
}
.doc-count {
@@ -209,9 +209,9 @@ h1 {
.document-grid {
display: grid;
- width: 100%;
- gap: 20px;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
+ gap: 20px;
+ width: 100%;
}
.line-item:first-child {
@@ -220,8 +220,8 @@ h1 {
}
.line-item:last-child {
- border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
+ border-bottom-left-radius: 12px;
}
@media screen and (width <= 768px) {
diff --git a/frontend/app/components/Node/Document/Footer.vue b/frontend/app/components/Node/Document/Footer.vue
index e12ad6dc..06b2bb1d 100644
--- a/frontend/app/components/Node/Document/Footer.vue
+++ b/frontend/app/components/Node/Document/Footer.vue
@@ -54,8 +54,8 @@ footer {
}
.attachments {
- width: 100%;
gap: 10px;
+ width: 100%;
margin-bottom: 20px;
.attachment {
@@ -65,6 +65,8 @@ footer {
.edit-link {
display: flex;
+ align-items: center;
+ gap: 6px;
padding: 8px 14px;
border-radius: var(--radius-md);
font-size: 13px;
@@ -73,8 +75,6 @@ footer {
transition:
color $transition-base ease,
background-color $transition-base ease;
- align-items: center;
- gap: 6px;
&:hover {
color: var(--primary);
@@ -84,21 +84,22 @@ footer {
.last-updated {
display: flex;
- font-size: 13px;
- color: var(--text-secondary);
align-items: center;
gap: 6px;
+ font-size: 13px;
+ color: var(--text-secondary);
}
.items {
display: flex;
flex-wrap: wrap;
- gap: 10px;
justify-content: space-between;
+ gap: 10px;
}
.item {
display: block;
+ flex: 1;
width: 100%;
min-width: 280px;
max-width: 400px;
@@ -109,7 +110,6 @@ footer {
font-size: 15px;
font-weight: 450;
transition: color 0.25s;
- flex: 1;
&:hover {
border: 1px solid var(--primary);
@@ -126,21 +126,21 @@ footer {
}
.right {
- text-align: right;
margin-left: auto;
+ text-align: right;
}
.left {
- text-align: left;
margin-right: auto;
+ text-align: left;
}
.footer-top-row {
display: flex;
- padding: 10px 0;
- font-weight: 450;
+ justify-content: space-between;
align-items: center;
+ padding: 10px 0;
border-bottom: 1px solid var(--border);
- justify-content: space-between;
+ font-weight: 450;
}
</style>
diff --git a/frontend/app/components/Node/Document/Header.vue b/frontend/app/components/Node/Document/Header.vue
index 072d9cd9..689eaa77 100644
--- a/frontend/app/components/Node/Document/Header.vue
+++ b/frontend/app/components/Node/Document/Header.vue
@@ -89,9 +89,9 @@ p {
.user {
display: flex;
- min-width: 120px;
align-items: center;
gap: 12px;
+ min-width: 120px;
margin-bottom: 8px;
}
@@ -123,9 +123,9 @@ h1 {
}
.description {
+ margin-bottom: 12px;
font-size: 14px;
color: var(--text-secondary);
- margin-bottom: 12px;
}
.category {
@@ -137,8 +137,8 @@ h1 {
.tags {
display: flex;
- padding: 8px 0;
flex-wrap: wrap;
+ padding: 8px 0;
}
@media print, screen and (width >= 1024px) {
@@ -157,10 +157,10 @@ h1 {
@media print {
.print-style {
+ align-items: center;
padding: 0;
border: none;
background: none;
- align-items: center;
.thumbnail,
.description,
@@ -171,10 +171,10 @@ h1 {
}
h1 {
+ border-bottom: 1px solid var(--text-body);
font-size: 27px;
font-weight: 700;
text-align: center;
- border-bottom: 1px solid var(--text-body);
}
}
}
diff --git a/frontend/app/components/Node/Document/Skeleton.vue b/frontend/app/components/Node/Document/Skeleton.vue
index b1ab0576..68a7eaf2 100644
--- a/frontend/app/components/Node/Document/Skeleton.vue
+++ b/frontend/app/components/Node/Document/Skeleton.vue
@@ -30,9 +30,9 @@
<style scoped lang="scss">
.article-skeleton {
display: flex;
- padding: 2rem 0;
flex-direction: column;
gap: 50px;
+ padding: 2rem 0;
}
.skeleton-paragraph {
diff --git a/frontend/app/components/Node/Filter.vue b/frontend/app/components/Node/Filter.vue
index 51b8bf7b..586414a4 100644
--- a/frontend/app/components/Node/Filter.vue
+++ b/frontend/app/components/Node/Filter.vue
@@ -158,9 +158,9 @@ onBeforeUnmount(() => {
.row {
display: flex;
- margin: 4px 0;
- gap: 8px;
justify-content: space-around;
+ gap: 8px;
+ margin: 4px 0;
}
kbd {
@@ -168,14 +168,14 @@ kbd {
}
label {
- font-size: 13px;
margin-bottom: 6px;
+ font-size: 13px;
}
.panel-actions {
display: flex;
- gap: 8px;
justify-content: flex-end;
+ gap: 8px;
margin-top: 6px;
}
@@ -188,8 +188,8 @@ label {
}
.panel-footer {
- color: var(--muted);
margin-top: 8px;
+ color: var(--muted);
}
/* small pop animation */
diff --git a/frontend/app/components/Node/Import/Preview.vue b/frontend/app/components/Node/Import/Preview.vue
index 863b948c..2dbe16cf 100644
--- a/frontend/app/components/Node/Import/Preview.vue
+++ b/frontend/app/components/Node/Import/Preview.vue
@@ -55,40 +55,40 @@ const importSingle = () => emit('importSingle');
<style scoped lang="scss">
.node-item {
display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 1rem;
width: 100%;
padding: 0.75rem;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
- align-items: center;
- flex-wrap: wrap;
- gap: 1rem;
}
.doc-info {
display: flex;
- min-width: 0;
- align-items: center;
flex: 1;
+ align-items: center;
gap: 0.75rem;
+ min-width: 0;
}
.icon {
+ margin-right: 10px;
padding: 4px;
border-radius: var(--radius-md);
- margin-right: 10px;
}
.doc-details {
display: flex;
- min-width: 0;
flex-direction: column;
+ min-width: 0;
}
.doc-name {
font-weight: 500;
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.doc-meta {
@@ -102,17 +102,17 @@ const importSingle = () => emit('importSingle');
.comparison {
display: flex;
+ align-items: center;
+ gap: 0.5rem;
padding: 0.25rem 0.5rem;
border-radius: var(--radius-sm);
font-size: 0.75rem;
background: var(--surface-base);
- align-items: center;
- gap: 0.5rem;
.version {
display: flex;
- align-items: center;
flex-direction: column;
+ align-items: center;
.version-label {
font-size: 0.65rem;
diff --git a/frontend/app/components/Node/List/Inline.vue b/frontend/app/components/Node/List/Inline.vue
index 1e1777db..ed562ac6 100644
--- a/frontend/app/components/Node/List/Inline.vue
+++ b/frontend/app/components/Node/List/Inline.vue
@@ -57,25 +57,25 @@ const openContextMenu = (event: MouseEvent) => {
<style scoped lang="scss">
.line {
display: flex;
+ flex-direction: column;
padding: 14px 16px;
border: 1px solid var(--border);
+ border-bottom: none;
background: var(--surface-base);
transition: background $transition-fast ease;
- border-bottom: none;
- flex-direction: column;
&:first-child {
border-radius: var(--radius-md) var(--radius-md) 0 0;
}
&:last-child {
- border-radius: 0 0 var(--radius-md) var(--radius-md);
border-bottom: 1px solid var(--border);
+ border-radius: 0 0 var(--radius-md) var(--radius-md);
}
&:only-child {
- border-radius: var(--radius-md);
border-bottom: 1px solid var(--border);
+ border-radius: var(--radius-md);
}
&:hover {
@@ -85,9 +85,9 @@ const openContextMenu = (event: MouseEvent) => {
header {
display: flex;
- border: none;
- align-items: center;
justify-content: space-between;
+ align-items: center;
+ border: none;
}
.title-row {
@@ -96,17 +96,17 @@ header {
}
.icon {
+ margin-right: 8px;
padding: 6px;
border-radius: var(--radius-sm);
- margin-right: 8px;
}
.name {
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
- transition: color $transition-fast;
text-decoration: none;
+ transition: color $transition-fast;
&:hover {
color: var(--primary);
@@ -119,18 +119,18 @@ header {
font-size: 14px;
line-height: 1.5;
color: var(--text-secondary);
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
footer {
display: flex;
- font-size: 12px;
- color: var(--text-secondary);
align-items: center;
gap: 6px;
margin-top: 4px;
+ font-size: 12px;
+ color: var(--text-secondary);
svg {
width: 14px;
diff --git a/frontend/app/components/Node/Modals/CreateCategory.vue b/frontend/app/components/Node/Modals/CreateCategory.vue
index cc9f22ac..436e92a6 100644
--- a/frontend/app/components/Node/Modals/CreateCategory.vue
+++ b/frontend/app/components/Node/Modals/CreateCategory.vue
@@ -10,11 +10,13 @@
</div>
</template>
<div style="display: flex; flex-wrap: wrap">
- <div style="min-width: 200px; flex: 1; margin-right: 10px">
+ <div style=" flex: 1;
+min-width: 200px; margin-right: 10px">
<label for="order">{{ t('common.labels.order') }} <AppHint :text="t('nodes.category.orderHint')" /></label>
<input id="order" v-model.number="category.order" class="entry" type="number" placeholder="0" />
</div>
- <div style="min-width: 200px; flex: 1; margin-left: 10px">
+ <div style=" flex: 1;
+min-width: 200px; margin-left: 10px">
<label for="color">{{ t('common.labels.color') }}</label>
<AppColorPicker id="color" v-model="category.color" class="entry" nullable />
</div>
diff --git a/frontend/app/components/Node/Modals/DrawioEditor.vue b/frontend/app/components/Node/Modals/DrawioEditor.vue
index 56d756e8..27612caa 100644
--- a/frontend/app/components/Node/Modals/DrawioEditor.vue
+++ b/frontend/app/components/Node/Modals/DrawioEditor.vue
@@ -96,18 +96,18 @@ onBeforeUnmount(() => window.removeEventListener('message', exitHandleMessage));
<style scoped lang="scss">
.drawio-editor-modal {
display: flex;
- height: 100%;
flex-direction: column;
gap: 12px;
+ height: 100%;
}
.drawio-content {
position: relative;
+ flex: 1;
min-height: 0;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--surface-base);
- flex: 1;
overflow: hidden;
}
@@ -122,12 +122,12 @@ onBeforeUnmount(() => window.removeEventListener('message', exitHandleMessage));
position: absolute;
z-index: 10;
display: flex;
- background: var(--surface-base);
- align-items: center;
flex-direction: column;
+ justify-content: center;
+ align-items: center;
gap: 12px;
+ background: var(--surface-base);
inset: 0;
- justify-content: center;
p {
font-size: 14px;
diff --git a/frontend/app/components/Node/Modals/Join.vue b/frontend/app/components/Node/Modals/Join.vue
index 07990305..789c3f33 100644
--- a/frontend/app/components/Node/Modals/Join.vue
+++ b/frontend/app/components/Node/Modals/Join.vue
@@ -67,8 +67,8 @@ onMounted(() => {
font-size: 0.78rem;
font-weight: 700;
color: var(--text-secondary);
- letter-spacing: 0.18em;
text-transform: uppercase;
+ letter-spacing: 0.18em;
}
.subtitle {
@@ -92,14 +92,14 @@ onMounted(() => {
}
.error-message {
- color: var(--red);
margin-top: 1rem;
+ color: var(--red);
text-align: center;
}
.success-message {
- color: var(--green);
margin-top: 1rem;
+ color: var(--green);
text-align: center;
}
</style>
diff --git a/frontend/app/components/Node/Modals/Metadata.vue b/frontend/app/components/Node/Modals/Metadata.vue
index ab8f9dd2..587ad611 100644
--- a/frontend/app/components/Node/Modals/Metadata.vue
+++ b/frontend/app/components/Node/Modals/Metadata.vue
@@ -82,8 +82,8 @@ watch(
}
form {
- padding: 0 5px 25px;
flex: 1;
+ padding: 0 5px 25px;
overflow-y: auto;
}
diff --git a/frontend/app/components/Node/Modals/Permissions.vue b/frontend/app/components/Node/Modals/Permissions.vue
index b2a7e728..197343db 100644
--- a/frontend/app/components/Node/Modals/Permissions.vue
+++ b/frontend/app/components/Node/Modals/Permissions.vue
@@ -244,31 +244,31 @@ const copyInvitationLink = async (code: string) => {
h2 {
display: flex;
- font-size: 20px;
align-items: center;
gap: 10px;
+ font-size: 20px;
}
form {
display: flex;
- padding: 0 4px;
flex-direction: column;
gap: 10px;
+ padding: 0 4px;
}
.user-card {
display: flex;
+ flex-direction: column;
+ gap: 8px;
padding: 6px 10px;
border-radius: var(--radius-md);
background-color: var(--surface-transparent);
- flex-direction: column;
- gap: 8px;
}
.user-info-row {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
}
.user-meta {
@@ -297,9 +297,9 @@ form {
}
.public-info {
+ margin-bottom: 10px;
padding: 0 5px;
border-radius: var(--radius-md);
- margin-bottom: 10px;
.info-text {
margin: 5px 0;
@@ -309,9 +309,9 @@ form {
.public-link {
display: flex;
- color: var(--primary);
align-items: flex-end;
gap: 2px;
+ color: var(--primary);
text-decoration: underline;
word-break: break-all;
}
@@ -319,8 +319,8 @@ form {
.access {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
margin-top: 10px;
}
@@ -348,9 +348,9 @@ form {
.invite-meta {
display: flex;
- min-width: 0;
flex-direction: column;
gap: 2px;
+ min-width: 0;
}
.invite-code {
diff --git a/frontend/app/components/Node/Resource/CDN.vue b/frontend/app/components/Node/Resource/CDN.vue
index 3e37356b..c7e8278e 100644
--- a/frontend/app/components/Node/Resource/CDN.vue
+++ b/frontend/app/components/Node/Resource/CDN.vue
@@ -23,7 +23,8 @@
<span class="storage-percentage">{{ storagePercentage.toFixed(1) }}%</span>
</div>
<AppDrop ref="dropComponent" multiple :max-files="10" @select="selectFiles" />
- <div style="display: flex; width: 100%; padding: 12px 0; align-items: center; flex-direction: column; gap: 10px">
+ <div style="display: flex; flex-direction: column; align-items: center; gap: 10px;
+ width: 100%; padding: 12px 0">
<AppButton type="primary" :disabled="!selectedFiles.length" @click="submitFiles">
{{ selectedFiles.length ? t('cdn.actions.upload.multiple', { n: selectedFiles.length }) : t('cdn.actions.upload.idle') }}
</AppButton>
@@ -44,7 +45,8 @@
<template #bulk-actions="{ selected }">
<div class="bulk-actions">
<span class="selected-count">{{ selected.length }}</span>
- <span style="height: 32px; border-left: 1px solid var(--border); margin-left: 4px"></span>
+ <span style="height: 32px; margin-left: 4px;
+ border-left: 1px solid var(--border)"></span>
<span @click="bulkDelete(selected)"><Icon name="delete" fill="var(--text-secondary)" class="action-btn" /></span>
</div>
</template>
@@ -237,18 +239,18 @@ onUnmounted(() => {
<style scoped lang="scss">
.storage-indicator {
display: flex;
+ align-items: center;
+ gap: 12px;
width: 100%;
margin: 12px 0;
padding: 12px 16px;
border-radius: var(--radius-md);
- align-items: center;
- gap: 12px;
.storage-info {
display: flex;
- min-width: 180px;
flex-direction: column;
gap: 2px;
+ min-width: 180px;
.storage-label {
font-size: 12px;
@@ -263,10 +265,10 @@ onUnmounted(() => {
}
.progress-bar {
+ flex: 1;
height: 8px;
border-radius: var(--radius-xs);
background: var(--surface-transparent);
- flex: 1;
overflow: hidden;
.progress-fill {
@@ -301,18 +303,18 @@ onUnmounted(() => {
.upload-progress {
display: flex;
- font-size: 14px;
- color: var(--text-secondary);
align-items: center;
gap: 10px;
+ font-size: 14px;
+ color: var(--text-secondary);
}
.link-section {
display: flex;
- width: 100%;
- margin: 6px 0;
flex-direction: column;
gap: 10px;
+ width: 100%;
+ margin: 6px 0;
.links-text {
width: 100%;
@@ -322,8 +324,8 @@ onUnmounted(() => {
font-family: $font-mono;
font-size: 13px;
color: var(--text-primary);
- white-space: pre-wrap;
word-break: break-all;
+ white-space: pre-wrap;
}
.links-actions {
@@ -334,9 +336,9 @@ onUnmounted(() => {
.bulk-actions {
display: flex;
- width: 100%;
align-items: center;
gap: 8px;
+ width: 100%;
}
.action-btn {
@@ -349,6 +351,8 @@ onUnmounted(() => {
.selected-count {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 32px;
height: 34px;
padding: 4px;
@@ -357,8 +361,6 @@ onUnmounted(() => {
font-size: 12px;
font-weight: bold;
color: var(--text-secondary);
- align-items: center;
- justify-content: center;
}
.resources-list {
@@ -366,17 +368,17 @@ onUnmounted(() => {
}
.not-found {
+ grid-column: 1 / -1;
color: var(--text-secondary);
text-align: center;
- grid-column: 1 / -1;
}
.images-grid {
display: grid;
- padding: 16px 0;
flex: 1;
- gap: 16px;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
+ gap: 16px;
+ padding: 16px 0;
}
.image-item {
@@ -402,13 +404,13 @@ onUnmounted(() => {
.image-name {
display: block;
+ margin-bottom: 4px;
font-size: 14px;
font-weight: 500;
color: var(--text-primary);
- margin-bottom: 4px;
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.image-size {
diff --git a/frontend/app/components/Node/Resource/Inline.vue b/frontend/app/components/Node/Resource/Inline.vue
index 23f61397..10fb570c 100644
--- a/frontend/app/components/Node/Resource/Inline.vue
+++ b/frontend/app/components/Node/Resource/Inline.vue
@@ -37,13 +37,13 @@ const openDrawioEditor = () => modal.add(new Modal(shallowRef(DrawioEditorModal)
<style scoped lang="scss">
.file-card {
display: flex;
+ align-items: center;
+ gap: 0.75rem;
width: 100%;
padding: 0.5rem 0.75rem;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background-color: var(--surface-base);
- align-items: center;
- gap: 0.75rem;
&:hover {
background-color: var(--surface-raised);
@@ -58,16 +58,16 @@ const openDrawioEditor = () => modal.add(new Modal(shallowRef(DrawioEditorModal)
}
.file-info {
- min-width: 0;
flex: 1;
+ min-width: 0;
.file-name {
display: block;
font-weight: 500;
color: var(--text-body);
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.file-size {
diff --git a/frontend/app/components/Node/Stats.vue b/frontend/app/components/Node/Stats.vue
index f455dff0..09996d22 100644
--- a/frontend/app/components/Node/Stats.vue
+++ b/frontend/app/components/Node/Stats.vue
@@ -43,18 +43,18 @@ const countByRole = (role: number) => nodesTree.getSubtreeAsArray(props.parentId
<style scoped lang="scss">
section {
display: grid;
- gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
+ gap: 1rem;
}
.card {
display: flex;
+ align-items: center;
+ gap: 1rem;
padding: 1.25rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-base);
- align-items: center;
- gap: 1rem;
}
.stat-icon {
diff --git a/frontend/app/components/Node/TOC/Level.vue b/frontend/app/components/Node/TOC/Level.vue
index f2f32622..f7908173 100644
--- a/frontend/app/components/Node/TOC/Level.vue
+++ b/frontend/app/components/Node/TOC/Level.vue
@@ -23,10 +23,10 @@ a {
}
li {
+ margin-top: 3px;
padding: 0;
font-size: 12px;
list-style: none;
- margin-top: 3px;
}
ul {
diff --git a/frontend/app/components/Node/TOC/TOC.vue b/frontend/app/components/Node/TOC/TOC.vue
index ccb70f6b..fbb878d9 100644
--- a/frontend/app/components/Node/TOC/TOC.vue
+++ b/frontend/app/components/Node/TOC/TOC.vue
@@ -1,7 +1,8 @@
<template>
<aside>
<h4 v-if="doc?.tags">{{ t('nodes.tags') }}</h4>
- <div v-if="doc?.tags" style="display: flex; font-size: 14px; flex-wrap: wrap">
+ <div v-if="doc?.tags" style="display: flex; flex-wrap: wrap;
+ font-size: 14px">
<tag v-for="tag in doc?.tags.split(',')" :key="tag" class="primary">#{{ tag.trim() }}</tag>
</div>
<ul ref="list" style="position: relative">
@@ -140,8 +141,8 @@ aside {
top: 20px;
width: 350px;
padding: 0 15px;
- font-size: 0.8rem;
border-left: 1px solid var(--border);
+ font-size: 0.8rem;
}
.marker {
@@ -170,13 +171,13 @@ li:deep(a).active {
.child-link {
display: flex;
+ align-items: flex-start;
+ gap: 5px;
margin: 5px 0;
font-weight: 450;
color: var(--text-body);
- transition: color $transition-base;
- align-items: flex-start;
- gap: 5px;
text-decoration: none;
+ transition: color $transition-base;
&:hover {
color: var(--primary);
diff --git a/frontend/app/components/Node/Team/Navbar.vue b/frontend/app/components/Node/Team/Navbar.vue
index 0ff2364e..9eebdea5 100644
--- a/frontend/app/components/Node/Team/Navbar.vue
+++ b/frontend/app/components/Node/Team/Navbar.vue
@@ -63,11 +63,11 @@ const isEditor = computed(() => {
/* ── Container ──────────────────────────────────────────────────── */
.subnav {
display: flex;
- padding: 0 2px;
align-items: stretch;
gap: 2px;
// Tabs sit on the border-bottom of the header
margin-bottom: -1px;
+ padding: 0 2px;
}
/* ── Individual tab ─────────────────────────────────────────────── */
@@ -76,20 +76,20 @@ const isEditor = computed(() => {
a {
display: inline-flex;
+ align-items: center;
+ gap: 7px;
height: 44px;
padding: 0 12px;
+ border-bottom: 2px solid transparent;
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
font-size: 13.5px;
font-weight: 500;
color: var(--text-secondary);
+ white-space: nowrap;
transition:
background-color $transition-fast ease-in-out,
color $transition-fast ease-in-out,
border-color $transition-fast ease-in-out;
- align-items: center;
- border-bottom: 2px solid transparent;
- gap: 7px;
- white-space: nowrap;
&:hover {
color: var(--text-primary);
@@ -99,35 +99,35 @@ const isEditor = computed(() => {
// Active tab
&:has(a.router-link-exact-active) a {
+ border-bottom-color: var(--primary);
font-weight: 600;
color: var(--primary);
background-color: var(--surface-raised);
- border-bottom-color: var(--primary);
}
}
/* ── Mobile vertical layout (driven by Navbar wrapper's :deep) ──── */
@media (width <= 767px) {
.subnav {
- padding: 6px 8px 10px;
flex-direction: column;
gap: 2px;
margin-bottom: 0;
+ padding: 6px 8px 10px;
// Reset the bottom-border tab style; use left accent instead
.subnav__item a {
width: 100%;
height: auto;
padding: 10px 14px;
+ border-bottom: none;
border-radius: var(--radius-sm);
font-size: 15px;
- border-bottom: none;
}
.subnav__item:has(a.router-link-exact-active) a {
+ padding-left: 11px; // compensate for border
border-bottom: none;
border-left: 3px solid var(--primary);
- padding-left: 11px; // compensate for border
}
}
}
diff --git a/frontend/app/components/Node/Tree/Item.vue b/frontend/app/components/Node/Tree/Item.vue
index 0b2b3e66..6a1988fb 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;
- padding: 0.625rem 1rem;
- transition: background-color 0.15s;
align-items: center;
- border-left: 2px solid transparent;
gap: 0.5rem;
+ padding: 0.625rem 1rem;
+ border-left: 2px solid transparent;
+ transition: background-color 0.15s;
&:hover {
border-left-color: var(--primary);
@@ -104,17 +104,17 @@ function toggleExpand() {
.expand-btn {
display: flex;
+ flex-shrink: 0;
+ justify-content: center;
+ align-items: center;
width: 20px;
height: 20px;
padding: 0;
border: none;
color: var(--text-secondary);
background: none;
- transition: transform 0.2s;
- align-items: center;
cursor: pointer;
- flex-shrink: 0;
- justify-content: center;
+ transition: transform 0.2s;
&.rotated {
transform: rotate(90deg);
@@ -126,26 +126,26 @@ function toggleExpand() {
}
.expand-placeholder {
- width: 20px;
flex-shrink: 0;
+ width: 20px;
}
.node-icon {
display: flex;
+ flex-shrink: 0;
+ justify-content: center;
+ align-items: center;
width: 32px;
height: 32px;
border-radius: var(--radius-md);
- align-items: center;
- flex-shrink: 0;
- justify-content: center;
}
.node-link {
display: flex;
- min-width: 0;
flex: 1;
flex-direction: column;
gap: 2px;
+ min-width: 0;
text-decoration: none;
&:hover .node-name {
@@ -157,24 +157,24 @@ function toggleExpand() {
font-size: 0.9375rem;
font-weight: 500;
color: var(--text-primary);
- transition: color 0.15s;
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ transition: color 0.15s;
+ overflow: hidden;
}
.node-description {
font-size: 0.8125rem;
color: var(--text-secondary);
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.node-meta {
display: flex;
- align-items: center;
flex-shrink: 0;
+ align-items: center;
gap: 0.5rem;
}
@@ -184,13 +184,15 @@ function toggleExpand() {
font-size: 0.6875rem;
font-weight: 500;
color: var(--text-secondary);
- background: var(--surface-raised);
- letter-spacing: 0.5px;
text-transform: uppercase;
+ letter-spacing: 0.5px;
+ background: var(--surface-raised);
}
.children-count {
display: flex;
+ justify-content: center;
+ align-items: center;
min-width: 20px;
height: 20px;
padding: 0 6px;
@@ -199,13 +201,11 @@ function toggleExpand() {
font-weight: 600;
color: var(--text-body);
background: var(--surface-raised);
- align-items: center;
- justify-content: center;
}
.node-children {
- border-left: 1px dashed var(--border);
margin-left: 1.75rem;
+ border-left: 1px dashed var(--border);
}
// Expand transition
diff --git a/frontend/app/components/Node/Tree/NodeTree.vue b/frontend/app/components/Node/Tree/NodeTree.vue
index cc28a724..92913177 100644
--- a/frontend/app/components/Node/Tree/NodeTree.vue
+++ b/frontend/app/components/Node/Tree/NodeTree.vue
@@ -52,30 +52,30 @@ const totalCount = computed(() => props.nodes.length);
<style scoped lang="scss">
.tree {
+ margin-top: 2rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-base);
- margin-top: 2rem;
overflow: hidden;
}
.tree-header {
display: flex;
- padding: 1rem 1.25rem;
- background: var(--surface-raised);
+ justify-content: space-between;
align-items: center;
+ padding: 1rem 1.25rem;
border-bottom: 1px solid var(--border);
- justify-content: space-between;
+ background: var(--surface-raised);
h2 {
display: flex;
+ align-items: center;
+ gap: 0.5rem;
margin: 0;
border: none;
font-size: 1rem;
font-weight: 600;
color: var(--text-primary);
- align-items: center;
- gap: 0.5rem;
}
}
@@ -94,11 +94,11 @@ const totalCount = computed(() => props.nodes.length);
.empty-state {
display: flex;
- padding: 3rem;
- color: var(--text-secondary);
- align-items: center;
flex-direction: column;
justify-content: center;
+ align-items: center;
+ padding: 3rem;
+ color: var(--text-secondary);
p {
margin: 0.5rem 0 0;
diff --git a/frontend/app/components/Notification.vue b/frontend/app/components/Notification.vue
index 01f0e77e..954e92bf 100644
--- a/frontend/app/components/Notification.vue
+++ b/frontend/app/components/Notification.vue
@@ -56,25 +56,25 @@ const close = (id: number) => manager.remove(id);
.notification {
position: relative;
display: flex;
+ align-items: flex-start;
+ gap: 12px;
width: 380px;
padding: 14px 16px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-base);
box-shadow: var(--shadow-md);
- align-items: flex-start;
- gap: 12px;
overflow: hidden;
}
.icon-wrapper {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 36px;
min-width: 36px;
height: 36px;
border-radius: var(--radius-lg);
- align-items: center;
- justify-content: center;
svg {
width: 20px;
@@ -83,10 +83,10 @@ const close = (id: number) => manager.remove(id);
}
.content {
- min-width: 0;
- text-align: left;
flex: 1;
+ min-width: 0;
padding-top: 2px;
+ text-align: left;
}
.title {
@@ -106,6 +106,9 @@ const close = (id: number) => manager.remove(id);
.close-btn {
display: flex;
+ flex-shrink: 0;
+ justify-content: center;
+ align-items: center;
width: 28px;
height: 28px;
padding: 0;
@@ -113,13 +116,10 @@ const close = (id: number) => manager.remove(id);
border-radius: var(--radius-md);
color: var(--text-secondary);
background: transparent;
+ cursor: pointer;
transition:
color 0.15s ease,
background-color 0.15s ease;
- align-items: center;
- cursor: pointer;
- flex-shrink: 0;
- justify-content: center;
svg {
width: 16px;
@@ -140,8 +140,8 @@ const close = (id: number) => manager.remove(id);
height: 3px;
background: currentcolor;
opacity: 0.3;
- animation: shrink linear forwards;
transform-origin: left;
+ animation: shrink linear forwards;
}
@keyframes shrink {
diff --git a/frontend/app/components/OIDCProviders.vue b/frontend/app/components/OIDCProviders.vue
index ae2335cd..59bd7aff 100644
--- a/frontend/app/components/OIDCProviders.vue
+++ b/frontend/app/components/OIDCProviders.vue
@@ -44,10 +44,10 @@ onMounted(() => {
&::before,
&::after {
+ flex: 1;
height: 1px;
background: var(--border);
content: '';
- flex: 1;
}
span {
@@ -59,10 +59,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) {
@@ -72,6 +72,9 @@ onMounted(() => {
.provider-btn {
display: flex;
+ justify-content: center;
+ align-items: center;
+ gap: 0.6rem;
padding: 0.75rem 1rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
@@ -79,15 +82,12 @@ onMounted(() => {
font-weight: 500;
color: var(--text-body);
background: var(--surface-base);
+ cursor: pointer;
transition:
border-color $transition-base ease,
background-color $transition-base ease,
box-shadow $transition-base ease,
transform $transition-base ease;
- align-items: center;
- cursor: pointer;
- gap: 0.6rem;
- justify-content: center;
&:hover:not(:disabled) {
border-color: var(--provider-color);
@@ -108,16 +108,16 @@ onMounted(() => {
.provider-icon {
display: flex;
- width: 20px;
- height: 20px;
- align-items: center;
flex-shrink: 0;
justify-content: center;
+ align-items: center;
+ width: 20px;
+ height: 20px;
}
.provider-label {
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
</style>
diff --git a/frontend/app/components/PDFViewer.vue b/frontend/app/components/PDFViewer.vue
index c6be1e2c..b27f2784 100644
--- a/frontend/app/components/PDFViewer.vue
+++ b/frontend/app/components/PDFViewer.vue
@@ -271,12 +271,12 @@ onBeforeUnmount(() => {
.pdf-error {
display: flex;
- height: 100%;
- color: var(--red-dark);
- align-items: center;
flex-direction: column;
- gap: 12px;
justify-content: center;
+ align-items: center;
+ gap: 12px;
+ height: 100%;
+ color: var(--red-dark);
}
.pdf-page-wrapper {
@@ -292,19 +292,22 @@ onBeforeUnmount(() => {
.textLayer {
--csstools-color-scheme--light: initial;
+ --min-font-size: 1;
+ --text-scale-factor: 1;
+ --min-font-size-inv: 1;
position: absolute;
z-index: 0;
line-height: 1;
text-align: initial;
opacity: 1;
+ transform-origin: 0 0;
caret-color: CanvasText;
color-scheme: only light;
forced-color-adjust: none;
inset: 0;
overflow: clip;
text-size-adjust: none;
- transform-origin: 0 0;
}
.textLayer.highlighting {
@@ -314,9 +317,9 @@ onBeforeUnmount(() => {
.textLayer :is(span, br) {
position: absolute;
color: transparent;
+ white-space: pre;
cursor: text;
transform-origin: 0% 0%;
- white-space: pre;
}
.textLayer :is(br) {
@@ -327,12 +330,6 @@ onBeforeUnmount(() => {
user-select: none;
}
-.textLayer {
- --min-font-size: 1;
- --text-scale-factor: 1;
- --min-font-size-inv: 1;
-}
-
.textLayer > :not(.markedContent),
.textLayer .markedContent span:not(.markedContent) {
z-index: 1;
@@ -356,12 +353,6 @@ onBeforeUnmount(() => {
user-select: none;
}
-.textLayer .highlight {
- --highlight-selected-bg-color: rgb(0 100 0 / 25%);
- --highlight-backdrop-filter: none;
- --highlight-selected-backdrop-filter: none;
-}
-
@media screen and (forced-colors: active) {
.textLayer .highlight {
--highlight-selected-bg-color: transparent;
@@ -371,6 +362,10 @@ onBeforeUnmount(() => {
}
.textLayer .highlight {
+ --highlight-selected-bg-color: rgb(0 100 0 / 25%);
+ --highlight-backdrop-filter: none;
+ --highlight-selected-backdrop-filter: none;
+
margin: -1px;
padding: 1px;
border-radius: 4px;
@@ -382,14 +377,6 @@ onBeforeUnmount(() => {
background: color-mix(in srgb, AccentColor, transparent 75%);
}
-.textLayer ::selection {
- background: color-mix(in srgb, AccentColor, transparent 75%);
-}
-
-.textLayer br::selection {
- background: transparent;
-}
-
.textLayer br::selection {
background: transparent;
}
@@ -410,11 +397,11 @@ onBeforeUnmount(() => {
.pdf-page-placeholder {
position: absolute;
display: flex;
+ justify-content: center;
+ align-items: center;
font-size: 14px;
color: #999;
background: #f5f5f5;
- align-items: center;
inset: 0;
- justify-content: center;
}
</style>
diff --git a/frontend/app/components/ProTips.vue b/frontend/app/components/ProTips.vue
index 27c37f6a..31250379 100644
--- a/frontend/app/components/ProTips.vue
+++ b/frontend/app/components/ProTips.vue
@@ -17,9 +17,9 @@ const tips = [
<style scoped lang="scss">
.pro-tip {
display: flex;
- padding: 8px 12px;
- border-radius: var(--radius-md);
align-items: center;
gap: 6px;
+ padding: 8px 12px;
+ border-radius: var(--radius-md);
}
</style>
diff --git a/frontend/app/components/Sidebar/Dock.vue b/frontend/app/components/Sidebar/Dock.vue
index ec474c9a..7c00eb0b 100644
--- a/frontend/app/components/Sidebar/Dock.vue
+++ b/frontend/app/components/Sidebar/Dock.vue
@@ -47,22 +47,22 @@ function closeDock() {
<style scoped lang="scss">
.dock {
display: flex;
- padding: 1rem 0.3rem;
- background-color: var(--surface-base);
- border-right: 1px solid var(--border);
flex-direction: column;
gap: 10px;
+ padding: 1rem 0.3rem;
+ border-right: 1px solid var(--border);
+ background-color: var(--surface-base);
}
a {
- display: flex;
position: relative;
+ display: flex;
+ justify-content: center;
+ align-items: center;
width: 40px;
height: 40px;
border-radius: var(--radius-md);
transition: background-color $transition-medium ease;
- align-items: center;
- justify-content: center;
&:hover {
svg {
diff --git a/frontend/app/components/Sidebar/Sidebar.vue b/frontend/app/components/Sidebar/Sidebar.vue
index e657a961..4f9a94a7 100644
--- a/frontend/app/components/Sidebar/Sidebar.vue
+++ b/frontend/app/components/Sidebar/Sidebar.vue
@@ -151,9 +151,9 @@ onBeforeUnmount(() => {
.header {
display: flex;
- height: 50px;
- align-items: center;
justify-content: space-between;
+ align-items: center;
+ height: 50px;
.btn {
width: 30px;
@@ -163,9 +163,9 @@ onBeforeUnmount(() => {
.name {
display: flex;
+ align-items: center;
font-size: 1rem;
font-weight: 400;
- align-items: center;
}
}
@@ -192,27 +192,27 @@ onBeforeUnmount(() => {
input {
height: 30px;
margin: 3px 0;
+ padding-left: 30px;
border: none;
background-color: var(--surface-raised);
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-position: 5px;
- transition: background-color $transition-base;
background-repeat: no-repeat;
+ background-position: 5px;
outline: none;
- padding-left: 30px;
+ transition: background-color $transition-base;
}
.user {
display: flex;
- margin: 4px 0 0 5px;
align-items: center;
+ margin: 4px 0 0 5px;
.details {
display: flex;
- width: 100%;
- font-size: 0.85rem;
justify-content: space-between;
+ width: 100%;
margin-left: 5px;
+ font-size: 0.85rem;
}
.email {
diff --git a/frontend/app/components/Sidebar/SidebarItem.vue b/frontend/app/components/Sidebar/SidebarItem.vue
index 5e76119d..0234c83d 100644
--- a/frontend/app/components/Sidebar/SidebarItem.vue
+++ b/frontend/app/components/Sidebar/SidebarItem.vue
@@ -138,16 +138,16 @@ const drop = async (event: DragEvent) => {
<style scoped lang="scss">
.item {
display: flex;
+ justify-content: flex-start;
+ align-items: center;
width: 100%;
margin: 2.5px 0;
padding: 1px 4px;
border-radius: var(--radius-sm);
font-size: 15px;
font-weight: 450;
- align-items: center;
- cursor: pointer;
- justify-content: flex-start;
letter-spacing: -0.4px;
+ cursor: pointer;
&:hover {
background: var(--surface-overlay);
@@ -171,16 +171,16 @@ const drop = async (event: DragEvent) => {
}
.content {
- flex: 1;
position: relative;
- overflow: hidden;
+ flex: 1;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.dragging {
- box-shadow: var(--shadow-sm);
border-bottom: 2px solid var(--primary);
+ box-shadow: var(--shadow-sm);
}
.nav {
diff --git a/frontend/app/components/Sidebar/SidebarSkeleton.vue b/frontend/app/components/Sidebar/SidebarSkeleton.vue
index 9d74c4cf..30731e69 100644
--- a/frontend/app/components/Sidebar/SidebarSkeleton.vue
+++ b/frontend/app/components/Sidebar/SidebarSkeleton.vue
@@ -35,10 +35,10 @@ defineProps<{ isLoading: boolean }>();
.sidebar-skeleton {
display: flex;
- padding: 0.5rem;
flex-direction: column;
gap: 6px;
margin-top: 8px;
+ padding: 0.5rem;
}
.skeleton-line {
@@ -61,11 +61,11 @@ defineProps<{ isLoading: boolean }>();
.empty-sidebar {
display: flex;
+ flex-direction: column;
height: 100%;
padding: 20% 1rem;
color: var(--text-secondary);
text-align: center;
- flex-direction: column;
}
.empty-sidebar .icon {
@@ -79,9 +79,9 @@ defineProps<{ isLoading: boolean }>();
}
.empty-sidebar .message {
+ margin-bottom: 0.25rem;
font-size: 0.95rem;
font-weight: 500;
- margin-bottom: 0.25rem;
}
.empty-sidebar .hint {
@@ -90,10 +90,10 @@ defineProps<{ isLoading: boolean }>();
}
.action-link {
+ margin-top: 5px;
font-size: 0.75rem;
font-weight: bold;
color: var(--primary);
cursor: pointer;
- margin-top: 5px;
}
</style>
diff --git a/frontend/app/components/Sidebar/SidebarWorkspace.vue b/frontend/app/components/Sidebar/SidebarWorkspace.vue
index 1a188ce5..6e11b9ce 100644
--- a/frontend/app/components/Sidebar/SidebarWorkspace.vue
+++ b/frontend/app/components/Sidebar/SidebarWorkspace.vue
@@ -23,9 +23,9 @@ const { getAppAccent } = useAppColors();
<style scoped lang="scss">
div {
display: flex;
- font-weight: 500;
- align-items: center;
justify-content: space-between;
+ align-items: center;
+ font-weight: 500;
}
.workspace-name {
diff --git a/frontend/app/components/Sidebar/SidebarWorkspaces.vue b/frontend/app/components/Sidebar/SidebarWorkspaces.vue
index 68ae600b..c705006c 100644
--- a/frontend/app/components/Sidebar/SidebarWorkspaces.vue
+++ b/frontend/app/components/Sidebar/SidebarWorkspaces.vue
@@ -108,17 +108,17 @@ onBeforeUnmount(() => document.removeEventListener('click', handleClickOutside))
.dropdown-selected {
display: flex;
+ justify-content: space-between;
+ align-items: center;
margin: 4px 0;
padding: 4px 10px 4px 4px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--surface-base);
+ cursor: pointer;
transition:
border-color $transition-base ease,
box-shadow $transition-base ease;
- align-items: center;
- cursor: pointer;
- justify-content: space-between;
&:hover {
border-color: var(--border-strong);
@@ -137,8 +137,8 @@ onBeforeUnmount(() => document.removeEventListener('click', handleClickOutside))
.placeholder {
padding: 6px;
font-size: 0.9rem;
- color: var(--text-secondary);
font-style: italic;
+ color: var(--text-secondary);
}
.dropdown-selected.open {
@@ -182,10 +182,10 @@ li {
margin: 4px 0;
padding: 2px 4px;
border-radius: var(--radius-sm);
+ cursor: pointer;
transition:
background-color 0.15s ease,
transform 0.15s ease;
- cursor: pointer;
}
li.selected {
@@ -217,18 +217,18 @@ hr {
.new-workspace {
display: flex;
+ align-items: center;
+ gap: 6px;
margin: 2px 0;
padding: 8px;
border-radius: var(--radius-md);
font-size: 0.9rem;
font-weight: 500;
color: var(--text-secondary);
+ cursor: pointer;
transition:
color 0.15s ease,
background-color 0.15s ease;
- align-items: center;
- cursor: pointer;
- gap: 6px;
&:hover {
color: var(--text-body);
diff --git a/frontend/app/components/SplashScreen.vue b/frontend/app/components/SplashScreen.vue
index 5d07e506..96fb9abc 100644
--- a/frontend/app/components/SplashScreen.vue
+++ b/frontend/app/components/SplashScreen.vue
@@ -20,78 +20,52 @@
<style scoped lang="scss">
#splash-screen {
position: fixed;
- inset: 0;
+ z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
- overflow: hidden;
-
- background: radial-gradient(circle at top, #f8f9ff 0%, #ffffff 55%), #fff;
-
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- 'Segoe UI',
- sans-serif;
-
- user-select: none;
- z-index: 9999;
-
+ font-family: Inter;
+ background: radial-gradient(circle at top, #f8f9ff 0%, #fff 55%), #fff;
transition:
opacity 0.45s ease,
visibility 0.45s ease;
-}
-
-#splash-screen.fade-out {
- opacity: 0;
- visibility: hidden;
+ inset: 0;
+ overflow: hidden;
+ user-select: none;
}
.background-glow {
position: absolute;
width: 420px;
height: 420px;
-
- background: radial-gradient(circle, rgba(57, 86, 231, 0.12), transparent 70%);
-
- filter: blur(25px);
-
+ background: radial-gradient(circle, rgb(57 86 231 / 12%), transparent 70%);
animation: glow 5s ease-in-out infinite alternate;
+ filter: blur(25px);
}
.splash-content {
position: relative;
z-index: 2;
-
display: flex;
flex-direction: column;
align-items: center;
-
animation: appear 0.8s cubic-bezier(0.22, 0.8, 0.25, 1);
}
.logo-card {
- width: 170px;
- height: 170px;
-
display: flex;
- align-items: center;
justify-content: center;
-
+ align-items: center;
+ width: 170px;
+ height: 170px;
+ border: 1px solid rgb(255 255 255 / 75%);
border-radius: 36px;
-
- background: rgba(255, 255, 255, 0.75);
-
- backdrop-filter: blur(18px);
-
- border: 1px solid rgba(255, 255, 255, 0.75);
-
+ background: rgb(255 255 255 / 75%);
box-shadow:
- 0 20px 60px rgba(20, 20, 30, 0.08),
- inset 0 1px 1px rgba(255, 255, 255, 0.9);
-
+ 0 20px 60px rgb(20 20 30 / 8%),
+ inset 0 1px 1px rgb(255 255 255 / 90%);
animation: floating 4s ease-in-out infinite;
+ backdrop-filter: blur(18px);
}
.splash-logo {
@@ -102,22 +76,16 @@
.splash-title {
margin-top: 34px;
margin-bottom: 8px;
-
font-size: 2rem;
font-weight: 700;
-
- letter-spacing: -0.04em;
-
color: #111827;
+ letter-spacing: -0.04em;
}
.splash-subtitle {
margin: 0;
-
- color: #8d93a6;
-
font-size: 0.95rem;
-
+ color: #8d93a6;
letter-spacing: 0.02em;
}
@@ -153,36 +121,30 @@
@keyframes glow {
from {
- transform: scale(0.95);
opacity: 0.7;
+ transform: scale(0.95);
}
to {
- transform: scale(1.08);
opacity: 1;
+ transform: scale(1.08);
}
}
.loading-line {
- margin-top: 28px;
-
width: 48px;
height: 2px;
-
+ margin-top: 28px;
border-radius: 999px;
+ background: rgb(17 24 39 / 8%);
overflow: hidden;
-
- background: rgba(17, 24, 39, 0.08);
}
.loading-highlight {
width: 45%;
height: 100%;
-
border-radius: inherit;
-
background: linear-gradient(90deg, transparent, #3956e7, transparent);
-
animation: loadingLine 1.4s ease-in-out infinite;
}
diff --git a/frontend/app/components/Support.vue b/frontend/app/components/Support.vue
index a3ef6a19..338d7726 100644
--- a/frontend/app/components/Support.vue
+++ b/frontend/app/components/Support.vue
@@ -101,13 +101,13 @@ function handleClose() {
.support-container {
position: relative;
display: grid;
+ align-items: center;
grid-template-columns: 1.2fr 1fr;
gap: 4rem;
padding: 3.5rem;
border: 1px solid var(--border);
border-radius: var(--radius-xl);
background: linear-gradient(135deg, var(--surface-base), var(--surface-raised));
- align-items: center;
}
.close-btn {
@@ -154,9 +154,9 @@ function handleClose() {
h2 {
font-size: clamp(1.75rem, 3vw, 2.25rem);
font-weight: 800;
- letter-spacing: -0.02em;
line-height: 1.3;
color: var(--text-body);
+ letter-spacing: -0.02em;
}
.letter-content {
@@ -202,8 +202,8 @@ function handleClose() {
padding: 1.5rem;
border: 1px solid var(--border);
border-radius: 16px;
- background: var(--surface-base);
text-decoration: none;
+ background: var(--surface-base);
transition:
border-color $transition-medium ease,
transform $transition-medium ease,
@@ -211,34 +211,34 @@ function handleClose() {
&:hover {
border-color: var(--primary);
- transform: translateY(-2px);
box-shadow: var(--shadow-md);
+ transform: translateY(-2px);
.card-arrow {
- transform: translateX(4px);
color: var(--primary);
+ transform: translateX(4px);
}
}
.card-icon {
display: flex;
- align-items: center;
+ flex-shrink: 0;
justify-content: center;
+ align-items: center;
width: 44px;
height: 44px;
border-radius: var(--radius-lg);
background: var(--surface-raised);
- flex-shrink: 0;
}
.card-text {
flex: 1;
h3 {
+ margin-bottom: 0.25rem;
font-size: 1.1rem;
font-weight: 700;
color: var(--text-body);
- margin-bottom: 0.25rem;
}
p {
@@ -249,18 +249,19 @@ function handleClose() {
}
.card-arrow {
+ align-self: center;
font-size: 1.2rem;
color: var(--text-secondary);
transition:
transform $transition-fast ease,
color $transition-fast ease;
- align-self: center;
}
}
.star-card .card-icon {
color: #fbbf24;
}
+
.donate-card .card-icon {
color: #ec4899;
}
@@ -277,12 +278,15 @@ function handleClose() {
.support-section {
padding: 0 1rem;
}
+
.support-container {
padding: 2rem 1.25rem;
}
+
.action-card {
- padding: 1.25rem;
gap: 1rem;
+ padding: 1.25rem;
+
.card-arrow {
display: none;
}
diff --git a/frontend/app/components/Tab/Tab.vue b/frontend/app/components/Tab/Tab.vue
index 13899264..dca70e8a 100644
--- a/frontend/app/components/Tab/Tab.vue
+++ b/frontend/app/components/Tab/Tab.vue
@@ -39,15 +39,14 @@ const closeTab = (path: string): void => {
<style scoped lang="scss">
.tabs-container {
display: flex;
- align-items: center;
flex-shrink: 0;
+ align-items: center;
gap: 0.2rem;
- margin-top: 2px;
+ width: 100%;
min-width: 0;
- overflow-x: auto;
- overflow-y: hidden;
+ margin-top: 2px;
white-space: nowrap;
- width: 100%;
+ overflow: auto hidden;
scrollbar-width: none;
&::-webkit-scrollbar {
@@ -55,22 +54,22 @@ const closeTab = (path: string): void => {
}
.tab {
+ position: relative;
display: flex;
- align-items: center;
flex: 0 0 auto;
- padding: 0.3rem 0.9rem;
+ align-items: center;
gap: 0.4rem;
min-width: max-content;
- color: var(--color);
+ padding: 0.3rem 0.9rem;
border: 1px solid transparent;
- border-radius: var(--radius-sm) var(--radius-sm) 0 0;
border-color: var(--primary-border);
+ border-radius: var(--radius-sm) var(--radius-sm) 0 0;
+ color: var(--color);
cursor: pointer;
transition:
background 0.2s ease,
color 0.2s ease,
border-color 0.2s ease;
- position: relative;
span {
font-size: 0.85rem;
@@ -79,12 +78,12 @@ const closeTab = (path: string): void => {
.close {
display: flex;
- align-items: center;
justify-content: center;
- opacity: 0;
+ align-items: center;
width: 20px;
height: 20px;
border-radius: 50%;
+ opacity: 0;
transition:
background 0.2s ease,
opacity 0.2s ease;
@@ -96,44 +95,45 @@ const closeTab = (path: string): void => {
&:hover {
background: var(--primary-border);
+
.close {
opacity: 1;
}
}
&.active {
- background: var(--primary-bg);
- color: var(--color);
border-color: var(--primary-border);
border-bottom-color: transparent;
+ color: var(--color);
+ background: var(--primary-bg);
.close {
opacity: 1;
}
&::after {
- content: '';
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
height: 2px;
background: var(--primary);
+ content: '';
}
}
}
.more {
display: flex;
- align-items: center;
- justify-content: center;
flex: 0 0 auto;
+ justify-content: center;
+ align-items: center;
width: 1.9rem;
height: 1.9rem;
margin-left: 0.25rem;
border-radius: 8px;
- cursor: pointer;
background: transparent;
+ cursor: pointer;
transition:
background 0.2s ease,
color 0.2s ease,
diff --git a/frontend/app/components/Trending.vue b/frontend/app/components/Trending.vue
index 8a21c11b..f5c11bbe 100644
--- a/frontend/app/components/Trending.vue
+++ b/frontend/app/components/Trending.vue
@@ -50,13 +50,13 @@ function toPolyline(series: MonthlyCount[]): string {
.month-row {
display: grid;
+ grid-template-columns: repeat(12, minmax(0, 1fr));
+ gap: 0.2rem;
margin: 0;
padding: 0;
font-size: 0.72rem;
color: var(--text-muted);
text-align: center;
- gap: 0.2rem;
- grid-template-columns: repeat(12, minmax(0, 1fr));
list-style: none;
}
</style>
diff --git a/frontend/app/components/ViewSelection.vue b/frontend/app/components/ViewSelection.vue
index 8c974711..44d5b224 100644
--- a/frontend/app/components/ViewSelection.vue
+++ b/frontend/app/components/ViewSelection.vue
@@ -50,16 +50,18 @@ onMounted(async () => {
<style scoped lang="scss">
.view-selection {
display: flex;
+ align-items: center;
+ gap: 2px;
padding: 3px;
border-radius: var(--radius-sm);
background: var(--surface-raised);
- align-items: center;
- gap: 2px;
}
button {
position: relative;
display: flex;
+ justify-content: center;
+ align-items: center;
width: 32px;
height: 32px;
padding: 0;
@@ -67,12 +69,10 @@ button {
border-radius: var(--radius-sm);
color: var(--text-secondary);
background: transparent;
+ cursor: pointer;
transition:
color $transition-fast,
background $transition-fast;
- align-items: center;
- cursor: pointer;
- justify-content: center;
&:hover {
color: var(--text-body);
diff --git a/frontend/app/components/Welcome.vue b/frontend/app/components/Welcome.vue
index 53025d52..8ef4027b 100644
--- a/frontend/app/components/Welcome.vue
+++ b/frontend/app/components/Welcome.vue
@@ -86,18 +86,18 @@ function handleClose() {
<style scoped lang="scss">
.welcome-banner {
position: relative;
- overflow: hidden;
+ margin-top: 1rem;
margin-bottom: 1rem;
border: 2px solid var(--border);
border-radius: var(--radius-xl);
background: linear-gradient(135deg, var(--surface-base), var(--surface-raised));
- margin-top: 1rem;
transition:
opacity $transition-fast ease,
transform $transition-fast ease,
max-height 0.4s ease,
margin 0.4s ease,
padding 0.4s ease;
+ overflow: hidden;
}
.banner-glow {
@@ -123,28 +123,28 @@ function handleClose() {
.header-title {
display: flex;
- gap: 0.75rem;
align-items: center;
+ gap: 0.75rem;
h2 {
+ margin: 0;
font-size: 1.25rem;
font-weight: 700;
- margin: 0;
color: var(--text-body);
}
}
.icon-badge {
display: flex;
- align-items: center;
justify-content: center;
+ align-items: center;
width: 36px;
height: 36px;
border-radius: var(--radius-md);
}
.version-tag {
- margin: 2px 0 0 0;
+ margin: 2px 0 0;
font-size: 0.8rem;
font-weight: 600;
color: var(--text-secondary);
@@ -153,48 +153,49 @@ function handleClose() {
// Organisation en grille responsive
.grid {
display: grid;
- gap: 1.5rem;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
+ gap: 1.5rem;
margin-bottom: 1.5rem;
}
.item {
display: flex;
- gap: 0.75rem;
align-items: flex-start;
+ gap: 0.75rem;
}
.indicator {
- margin-top: 6px;
+ flex-shrink: 0;
width: 8px;
height: 8px;
- background-color: var(--primary);
+ margin-top: 6px;
border-radius: 50%;
- flex-shrink: 0;
+ background-color: var(--primary);
box-shadow: 0 0 8px var(--primary-bg);
}
.text {
h3 {
+ margin: 0 0 4px;
font-size: 0.95rem;
font-weight: 600;
- margin: 0 0 4px 0;
color: var(--text-body);
}
p {
+ margin: 0;
font-size: 0.85rem;
- color: var(--text-secondary);
line-height: 1.4;
- margin: 0;
+ color: var(--text-secondary);
}
}
.description {
+ margin: 0 0 1.5rem;
font-size: 0.85rem;
- color: var(--text-secondary);
line-height: 1.4;
- margin: 0 0 1.5rem 0;
+ color: var(--text-secondary);
+
a {
color: var(--primary);
text-decoration: underline;
@@ -217,12 +218,12 @@ function handleClose() {
.welcome-collapse-enter-from,
.welcome-collapse-leave-to {
- opacity: 0;
- transform: translateY(-8px) scale(0.99);
max-height: 0 !important;
margin-bottom: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
+ opacity: 0;
+ transform: translateY(-8px) scale(0.99);
}
.welcome-collapse-enter-to,
diff --git a/frontend/app/error.vue b/frontend/app/error.vue
index d84ecfe0..9685f380 100644
--- a/frontend/app/error.vue
+++ b/frontend/app/error.vue
@@ -34,12 +34,12 @@ const props = defineProps({
<style scoped lang="scss">
.error-container {
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
min-height: 100vh;
padding: 20px;
text-align: center;
- align-items: center;
- flex-direction: column;
- justify-content: center;
}
.error-content {
@@ -61,9 +61,9 @@ const props = defineProps({
}
.error-description {
+ margin-bottom: 20px;
font-size: 16px;
color: var(--text-secondary);
- margin-bottom: 20px;
}
.error-button {
@@ -71,9 +71,9 @@ const props = defineProps({
padding: 10px 20px;
border-radius: var(--radius-sm);
color: white;
+ text-decoration: none;
background-color: var(--primary);
transition: background-color $transition-medium;
- text-decoration: none;
}
.error-button:hover {
diff --git a/frontend/app/layouts/public.vue b/frontend/app/layouts/public.vue
index 96635aa8..3cc04c55 100644
--- a/frontend/app/layouts/public.vue
+++ b/frontend/app/layouts/public.vue
@@ -9,11 +9,11 @@
<style scoped lang="scss">
.container {
display: flex;
+ flex-direction: column;
+ justify-content: space-between;
width: 95%;
margin: 0 auto;
padding: 1rem 0;
- flex-direction: column;
- justify-content: space-between;
padding-top: 1.5rem;
}
</style>
diff --git a/frontend/app/pages/(public)/_components/AppCTA.vue b/frontend/app/pages/(public)/_components/AppCTA.vue
index a9675d56..a3f7bebb 100644
--- a/frontend/app/pages/(public)/_components/AppCTA.vue
+++ b/frontend/app/pages/(public)/_components/AppCTA.vue
@@ -2,7 +2,8 @@
<section class="final-cta reveal">
<h2>Ready to Take Better Notes?</h2>
<p>Join us on this journey to better note-taking.</p>
- <NuxtLink :prefetch="false" to="/dashboard" class="btn primary large" style="display: block; width: fit-content; margin: 10px auto 0">Start Now</NuxtLink>
+ <NuxtLink :prefetch="false" to="/dashboard" class="btn primary large" style="display: block;
+ width: fit-content; margin: 10px auto 0">Start Now</NuxtLink>
<p style="margin-top: 20px">
Want to contribute or discuss? Check out our
<NuxtLink :prefetch="false" to="https://discord.gg/UPsEg6egPj" target="_blank" style="color: white; text-decoration: underline">Discord server</NuxtLink>!
@@ -12,19 +13,19 @@
<style scoped>
.final-cta {
+ margin-bottom: 3rem;
padding: 3rem 2rem;
border-radius: 1rem;
color: white;
text-align: center;
background: var(--primary);
- margin-bottom: 3rem;
}
.btn {
+ margin-top: 10px;
padding: 0.9rem 1.8rem;
border-radius: 50px;
font-weight: 600;
- margin-top: 10px;
text-decoration: none;
}
diff --git a/frontend/app/pages/(public)/_components/BentoFeatures.vue b/frontend/app/pages/(public)/_components/BentoFeatures.vue
index 86ad4cf6..4d31492e 100644
--- a/frontend/app/pages/(public)/_components/BentoFeatures.vue
+++ b/frontend/app/pages/(public)/_components/BentoFeatures.vue
@@ -219,15 +219,15 @@
}
.section-header {
- text-align: center;
margin-bottom: 4rem;
+ text-align: center;
}
.section-title {
+ margin-bottom: 1rem;
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 800;
letter-spacing: -0.02em;
- margin-bottom: 1rem;
}
.section-subtitle {
@@ -239,9 +239,9 @@
.bento-grid {
display: grid;
- gap: 1.25rem;
- grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(3, auto);
+ grid-template-columns: repeat(4, 1fr);
+ gap: 1.25rem;
}
.bento-card {
@@ -264,20 +264,20 @@
.card-icon {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 48px;
height: 48px;
+ margin-bottom: 1rem;
border-radius: var(--radius-lg);
color: var(--primary);
background: var(--surface-raised);
- align-items: center;
- justify-content: center;
- margin-bottom: 1rem;
}
h3 {
+ margin-bottom: 0.5rem;
font-size: 1.125rem;
font-weight: 700;
- margin-bottom: 0.5rem;
}
p {
@@ -306,9 +306,9 @@
}
.card-small {
- padding: 1.25rem;
grid-column: span 1;
grid-row: span 1;
+ padding: 1.25rem;
.card-icon {
width: 40px;
@@ -317,8 +317,8 @@
}
h3 {
- font-size: 1rem;
margin-bottom: 0.25rem;
+ font-size: 1rem;
}
p {
@@ -329,9 +329,9 @@
.card-wide {
display: flex;
align-items: center;
- gap: 2rem;
grid-column: span 2;
grid-row: span 1;
+ gap: 2rem;
.card-content {
flex: 1;
@@ -344,8 +344,8 @@
.card-visual {
display: flex;
- align-items: flex-end;
flex: 1;
+ align-items: flex-end;
}
.editor-preview {
@@ -360,8 +360,8 @@
}
.editor-line {
- overflow: hidden;
white-space: nowrap;
+ overflow: hidden;
}
.syntax-heading {
@@ -398,9 +398,9 @@
display: inline-block;
width: 2px;
height: 16px;
- background: var(--primary);
margin-left: 2px;
vertical-align: text-bottom;
+ background: var(--primary);
}
}
@@ -417,11 +417,11 @@
.folder-item {
display: flex;
+ align-items: center;
+ gap: 8px;
padding: 6px 10px;
border-radius: var(--radius-md);
transition: background 0.2s;
- align-items: center;
- gap: 8px;
&:hover {
background: var(--surface-raised);
@@ -460,9 +460,9 @@
img {
width: 32px;
height: 32px;
+ margin-left: -8px;
border: 2px solid var(--surface-base);
border-radius: 50%;
- margin-left: -8px;
&:first-child {
margin-left: 0;
@@ -471,17 +471,17 @@
.avatar-more {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 32px;
height: 32px;
+ margin-left: -8px;
border: 2px solid var(--surface-base);
border-radius: 50%;
font-size: 11px;
font-weight: 600;
color: white;
background: var(--primary);
- align-items: center;
- justify-content: center;
- margin-left: -8px;
}
}
@@ -506,21 +506,21 @@
.search-input {
display: flex;
+ align-items: center;
+ gap: 10px;
padding: 12px 14px;
+ border-bottom: 1px solid var(--border);
font-size: 14px;
color: var(--text-secondary);
- align-items: center;
- border-bottom: 1px solid var(--border);
- gap: 10px;
.kbd {
+ margin-left: auto;
padding: 4px 8px;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
font-size: 11px;
font-weight: 600;
background: var(--surface-base);
- margin-left: auto;
}
}
@@ -530,12 +530,12 @@
.search-result {
display: flex;
+ align-items: center;
+ gap: 10px;
padding: 10px 12px;
border-radius: var(--radius-md);
- transition: background 0.2s;
- align-items: center;
cursor: pointer;
- gap: 10px;
+ transition: background 0.2s;
&:hover {
background: var(--surface-base);
@@ -571,30 +571,30 @@
.publish-preview {
display: flex;
+ justify-content: space-between;
+ align-items: center;
padding: 12px 14px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
font-size: 13px;
background: var(--surface-raised);
- align-items: center;
- justify-content: space-between;
}
.url-bar {
display: flex;
- color: var(--text-secondary);
align-items: center;
gap: 6px;
+ color: var(--text-secondary);
}
.status-badge {
display: flex;
+ align-items: center;
+ gap: 6px;
padding: 4px 10px;
border-radius: 100px;
font-size: 11px;
font-weight: 600;
- align-items: center;
- gap: 6px;
&.published {
color: var(--green);
@@ -637,11 +637,11 @@
}
.card-large {
- align-items: center;
flex-direction: row;
- gap: 2rem;
+ align-items: center;
grid-column: span 2;
grid-row: span 1;
+ gap: 2rem;
}
.card-tall {
@@ -665,8 +665,8 @@
.card-large,
.card-wide {
- align-items: stretch;
flex-direction: column;
+ align-items: stretch;
grid-column: span 1;
}
}
diff --git a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue b/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
index 90b0b8cb..d25963f3 100644
--- a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
+++ b/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
@@ -67,9 +67,9 @@ onMounted(fetchContributors);
margin-bottom: 2rem;
h3 {
+ margin-bottom: 0.5rem;
font-size: 1.5rem;
font-weight: 700;
- margin-bottom: 0.5rem;
}
p {
@@ -86,24 +86,24 @@ onMounted(fetchContributors);
.contributors-track {
display: flex;
flex-wrap: wrap;
- gap: 1rem;
justify-content: center;
+ gap: 1rem;
}
.contributor {
display: flex;
+ flex-shrink: 0;
+ align-items: center;
+ gap: 12px;
padding: 12px 16px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
+ text-decoration: none;
background: var(--surface-base);
transition:
border-color $transition-medium ease,
box-shadow $transition-medium ease,
transform $transition-medium ease;
- align-items: center;
- flex-shrink: 0;
- gap: 12px;
- text-decoration: none;
&:hover {
border-color: var(--primary);
@@ -125,8 +125,8 @@ onMounted(fetchContributors);
.contributor-info {
display: flex;
- text-align: left;
flex-direction: column;
+ text-align: left;
.name {
font-size: 0.9rem;
@@ -146,20 +146,20 @@ onMounted(fetchContributors);
.cta-btn {
display: inline-flex;
+ align-items: center;
+ gap: 8px;
padding: 12px 24px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
font-size: 14px;
font-weight: 600;
color: var(--text-body);
+ text-decoration: none;
background: var(--surface-raised);
transition:
border-color $transition-medium ease,
color $transition-medium ease,
transform $transition-medium ease;
- align-items: center;
- gap: 8px;
- text-decoration: none;
&:hover {
border-color: var(--primary);
diff --git a/frontend/app/pages/(public)/_components/FeaturesShowcase.vue b/frontend/app/pages/(public)/_components/FeaturesShowcase.vue
index e18f81d7..8856bc2a 100644
--- a/frontend/app/pages/(public)/_components/FeaturesShowcase.vue
+++ b/frontend/app/pages/(public)/_components/FeaturesShowcase.vue
@@ -111,15 +111,15 @@ onUnmounted(() => {
}
.section-header {
- text-align: center;
margin-bottom: 4rem;
+ text-align: center;
}
.section-title {
+ margin-bottom: 1rem;
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 800;
letter-spacing: -0.02em;
- margin-bottom: 1rem;
}
.section-subtitle {
@@ -132,8 +132,8 @@ onUnmounted(() => {
.showcase-container {
display: grid;
align-items: start;
- gap: 3rem;
grid-template-columns: 300px 1fr;
+ gap: 3rem;
}
.showcase-nav {
@@ -147,19 +147,19 @@ onUnmounted(() => {
.nav-item {
position: relative;
display: flex;
+ align-items: flex-start;
+ gap: 1rem;
padding: 1.25rem;
border: 1px solid var(--border);
border-radius: 16px;
text-align: left;
background: var(--surface-base);
+ cursor: pointer;
transition:
border-color $transition-medium ease,
transform $transition-medium ease,
background-color $transition-medium ease,
box-shadow $transition-medium ease;
- align-items: flex-start;
- cursor: pointer;
- gap: 1rem;
overflow: hidden;
&:hover {
@@ -181,6 +181,8 @@ onUnmounted(() => {
.nav-number {
display: flex;
+ justify-content: center;
+ align-items: center;
min-width: 32px;
height: 32px;
border-radius: var(--radius-md);
@@ -191,8 +193,6 @@ onUnmounted(() => {
transition:
color $transition-medium ease,
background-color $transition-medium ease;
- align-items: center;
- justify-content: center;
}
.nav-content {
@@ -201,9 +201,9 @@ onUnmounted(() => {
.nav-title {
display: block;
+ margin-bottom: 2px;
font-size: 0.95rem;
font-weight: 600;
- margin-bottom: 2px;
}
.nav-desc {
@@ -241,23 +241,23 @@ onUnmounted(() => {
position: absolute;
display: grid;
align-items: center;
- gap: 3rem;
grid-template-columns: 1fr 1.5fr;
+ gap: 3rem;
inset: 0;
}
.display-content {
h3 {
+ margin-bottom: 1rem;
font-size: 1.75rem;
font-weight: 700;
- margin-bottom: 1rem;
}
p {
+ margin-bottom: 1.5rem;
font-size: 1.1rem;
line-height: 1.7;
color: var(--text-secondary);
- margin-bottom: 1.5rem;
}
}
@@ -268,14 +268,14 @@ onUnmounted(() => {
li {
display: flex;
- padding: 0.5rem 0;
- font-size: 0.95rem;
align-items: center;
gap: 10px;
+ padding: 0.5rem 0;
+ font-size: 0.95rem;
svg {
- color: var(--green);
flex-shrink: 0;
+ color: var(--green);
}
}
}
@@ -299,21 +299,21 @@ onUnmounted(() => {
@media screen and (width <= 1024px) {
.showcase-container {
- gap: 2rem;
grid-template-columns: 1fr;
+ gap: 2rem;
}
.showcase-nav {
position: static;
flex-direction: row;
gap: 0.75rem;
- overflow-x: auto;
padding-bottom: 0.5rem;
+ overflow-x: auto;
}
.nav-item {
- min-width: 200px;
flex-shrink: 0;
+ min-width: 200px;
&:hover {
transform: translateY(-2px);
@@ -333,8 +333,8 @@ onUnmounted(() => {
.display-item {
position: relative;
- gap: 2rem;
grid-template-columns: 1fr;
+ gap: 2rem;
inset: auto;
}
}
diff --git a/frontend/app/pages/(public)/_components/FinalCTA.vue b/frontend/app/pages/(public)/_components/FinalCTA.vue
index 12df29e7..addb4bf6 100644
--- a/frontend/app/pages/(public)/_components/FinalCTA.vue
+++ b/frontend/app/pages/(public)/_components/FinalCTA.vue
@@ -92,8 +92,8 @@
<style scoped lang="scss">
.final-cta {
- padding: 2rem;
margin-bottom: 2rem;
+ padding: 2rem;
}
.cta-container {
@@ -153,16 +153,16 @@
.cta-badge {
display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ margin-bottom: 2rem;
padding: 8px 16px;
border: 1px solid rgb(255 255 255 / 20%);
border-radius: 100px;
font-size: 13px;
font-weight: 500;
background: rgb(255 255 255 / 15%);
- align-items: center;
backdrop-filter: blur(10px);
- gap: 8px;
- margin-bottom: 2rem;
svg {
color: #fbbf24;
@@ -170,10 +170,10 @@
}
.cta-title {
+ margin-bottom: 1rem;
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 800;
line-height: 1.2;
- margin-bottom: 1rem;
.gradient-text {
display: block;
@@ -193,25 +193,25 @@
.cta-actions {
display: flex;
- gap: 1rem;
justify-content: center;
+ gap: 1rem;
margin-bottom: 2rem;
}
.btn-primary {
display: inline-flex;
+ align-items: center;
+ gap: 8px;
padding: 16px 28px;
border-radius: var(--radius-lg);
font-size: 15px;
font-weight: 600;
color: var(--primary);
+ text-decoration: none;
background: white;
transition:
box-shadow $transition-medium ease,
transform $transition-medium ease;
- align-items: center;
- gap: 8px;
- text-decoration: none;
&:hover {
box-shadow: var(--shadow-lg);
@@ -229,20 +229,20 @@
.btn-secondary {
display: inline-flex;
+ align-items: center;
+ gap: 8px;
padding: 16px 28px;
border: 1px solid rgb(255 255 255 / 30%);
border-radius: var(--radius-lg);
font-size: 15px;
font-weight: 600;
color: white;
+ text-decoration: none;
background: rgb(255 255 255 / 15%);
transition:
background-color $transition-medium ease,
transform $transition-medium ease;
- align-items: center;
backdrop-filter: blur(10px);
- gap: 8px;
- text-decoration: none;
&:hover {
background: rgb(255 255 255 / 25%);
@@ -253,16 +253,16 @@
.cta-features {
display: flex;
flex-wrap: wrap;
- gap: 2rem;
justify-content: center;
+ gap: 2rem;
margin-bottom: 3rem;
.feature {
display: flex;
- font-size: 14px;
- opacity: 0.9;
align-items: center;
gap: 6px;
+ font-size: 14px;
+ opacity: 0.9;
svg {
color: #a5f3fc;
@@ -273,31 +273,31 @@
// Discord Banner
.discord-banner {
display: flex;
+ align-items: center;
+ gap: 1rem;
max-width: 500px;
margin: 0 auto;
padding: 1rem 1.5rem;
border: 1px solid rgb(88 101 242 / 50%);
border-radius: 16px;
background: rgb(88 101 242 / 30%);
- align-items: center;
backdrop-filter: blur(10px);
- gap: 1rem;
}
.discord-icon {
display: flex;
+ flex-shrink: 0;
+ justify-content: center;
+ align-items: center;
width: 48px;
height: 48px;
border-radius: var(--radius-lg);
background: #5865f2;
- align-items: center;
- flex-shrink: 0;
- justify-content: center;
}
.discord-text {
- text-align: left;
flex: 1;
+ text-align: left;
}
.discord-title {
@@ -317,12 +317,12 @@
font-size: 13px;
font-weight: 600;
color: #5865f2;
+ text-decoration: none;
+ white-space: nowrap;
background: white;
transition:
box-shadow $transition-medium ease,
transform $transition-medium ease;
- text-decoration: none;
- white-space: nowrap;
&:hover {
box-shadow: var(--shadow-lg);
@@ -341,8 +341,8 @@
}
.cta-actions {
- align-items: center;
flex-direction: column;
+ align-items: center;
}
.cta-features {
@@ -350,8 +350,8 @@
}
.discord-banner {
- text-align: center;
flex-direction: column;
+ text-align: center;
}
.discord-text {
diff --git a/frontend/app/pages/(public)/_components/OpenSourceStats.vue b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
index c847b942..3b2012f9 100644
--- a/frontend/app/pages/(public)/_components/OpenSourceStats.vue
+++ b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
@@ -128,12 +128,12 @@ onMounted(() => {
<style scoped lang="scss">
.oss-stats {
display: grid;
+ align-items: center;
+ grid-template-columns: 1fr 1fr;
+ gap: 4rem;
max-width: 1200px;
margin: 6rem auto;
padding: 2rem;
- align-items: center;
- gap: 4rem;
- grid-template-columns: 1fr 1fr;
}
.stats-visual {
@@ -152,17 +152,17 @@ onMounted(() => {
.card-header {
display: flex;
- font-weight: 600;
align-items: center;
gap: 12px;
margin-bottom: 1rem;
+ font-weight: 600;
}
.card-desc {
+ margin-bottom: 1.5rem;
font-size: 0.9rem;
line-height: 1.6;
color: var(--text-secondary);
- margin-bottom: 1.5rem;
}
.card-stats {
@@ -172,10 +172,10 @@ onMounted(() => {
.mini-stat {
display: flex;
- font-size: 14px;
- color: var(--text-secondary);
align-items: center;
gap: 6px;
+ font-size: 14px;
+ color: var(--text-secondary);
svg {
color: var(--primary);
@@ -186,36 +186,36 @@ onMounted(() => {
.stats-content {
.section-tag {
display: inline-block;
+ margin-bottom: 1rem;
padding: 6px 14px;
border-radius: 100px;
font-size: 12px;
font-weight: 600;
color: white;
- background: linear-gradient(135deg, #8b5cf6, #6366f1);
- letter-spacing: 1px;
- margin-bottom: 1rem;
text-transform: uppercase;
+ letter-spacing: 1px;
+ background: linear-gradient(135deg, #8b5cf6, #6366f1);
}
h2 {
+ margin-bottom: 1rem;
font-size: clamp(2rem, 4vw, 2.5rem);
font-weight: 800;
letter-spacing: -0.02em;
- margin-bottom: 1rem;
}
.subtitle {
+ margin-bottom: 2rem;
font-size: 1.1rem;
line-height: 1.7;
color: var(--text-secondary);
- margin-bottom: 2rem;
}
}
.stats-grid {
display: grid;
- gap: 1rem;
grid-template-columns: repeat(3, 1fr);
+ gap: 1rem;
margin-bottom: 2rem;
}
@@ -237,9 +237,9 @@ onMounted(() => {
.stat-icon {
display: flex;
- margin: 0.5rem;
- align-items: center;
justify-content: center;
+ align-items: center;
+ margin: 0.5rem;
}
.stat-value {
@@ -251,26 +251,26 @@ onMounted(() => {
}
.stat-label {
+ margin-top: 4px;
font-size: 13px;
color: var(--text-secondary);
- margin-top: 4px;
}
.btn {
display: inline-flex;
+ align-items: center;
+ gap: 8px;
padding: 12px 20px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
font-size: 14px;
font-weight: 600;
+ text-decoration: none;
transition:
box-shadow $transition-medium ease,
transform $transition-medium ease,
border-color $transition-medium ease,
color $transition-medium ease;
- align-items: center;
- gap: 8px;
- text-decoration: none;
&.primary {
border-color: var(--primary);
@@ -305,8 +305,8 @@ onMounted(() => {
@media screen and (width <= 968px) {
.oss-stats {
- gap: 2rem;
grid-template-columns: 1fr;
+ gap: 2rem;
}
.stats-visual {
diff --git a/frontend/app/pages/(public)/_components/SelfHostSteps.vue b/frontend/app/pages/(public)/_components/SelfHostSteps.vue
index 262e5e83..dc31bcf5 100644
--- a/frontend/app/pages/(public)/_components/SelfHostSteps.vue
+++ b/frontend/app/pages/(public)/_components/SelfHostSteps.vue
@@ -121,15 +121,15 @@ function copyCode(code: string, index: number) {
}
.section-header {
- text-align: center;
margin-bottom: 3rem;
+ text-align: center;
}
h2 {
+ margin-bottom: 0.5rem;
font-size: clamp(2rem, 4vw, 2.5rem);
font-weight: 800;
letter-spacing: -0.02em;
- margin-bottom: 0.5rem;
}
.subtitle {
@@ -140,8 +140,8 @@ h2 {
.steps-container {
display: grid;
align-items: center;
- gap: 3rem;
grid-template-columns: 1fr 1.2fr;
+ gap: 3rem;
margin-bottom: 2rem;
}
@@ -176,6 +176,8 @@ h2 {
.step-index {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 32px;
height: 32px;
border-radius: var(--radius-lg);
@@ -183,8 +185,6 @@ h2 {
font-weight: 700;
color: white;
background: var(--primary);
- align-items: center;
- justify-content: center;
}
.step-header h3 {
@@ -194,9 +194,9 @@ h2 {
}
.step-content p {
+ margin-bottom: 0.75rem;
font-size: 0.9rem;
color: var(--text-secondary);
- margin-bottom: 0.75rem;
}
.code-wrap {
@@ -206,19 +206,21 @@ h2 {
}
.code {
+ flex: 1;
padding: 10px 14px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
font-family: $font-mono;
font-size: 13px;
+ white-space: nowrap;
background: var(--surface-raised);
- flex: 1;
overflow: auto;
- white-space: nowrap;
}
.copy {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 36px;
height: 36px;
padding: 0;
@@ -226,12 +228,10 @@ h2 {
border-radius: var(--radius-lg);
color: var(--text-secondary);
background: var(--surface-base);
+ cursor: pointer;
transition:
border-color $transition-fast ease,
color $transition-fast ease;
- align-items: center;
- cursor: pointer;
- justify-content: center;
&:hover {
border-color: var(--primary);
@@ -256,11 +256,11 @@ h2 {
.terminal-header {
display: flex;
- padding: 12px 16px;
- background: #181825;
align-items: center;
- border-bottom: 1px solid #313244;
gap: 1rem;
+ padding: 12px 16px;
+ border-bottom: 1px solid #313244;
+ background: #181825;
}
.terminal-dots {
@@ -300,12 +300,12 @@ h2 {
.terminal-line {
display: flex;
- color: #cdd6f4;
gap: 8px;
+ color: #cdd6f4;
&.output {
- color: #6c7086;
padding-left: 18px;
+ color: #6c7086;
}
&.success {
@@ -338,12 +338,14 @@ h2 {
.notes {
display: flex;
flex-wrap: wrap;
- gap: 10px;
justify-content: center;
+ gap: 10px;
}
.pill {
display: inline-flex;
+ align-items: center;
+ gap: 8px;
padding: 8px 14px;
border: 1px solid var(--border);
border-radius: 999px;
@@ -351,8 +353,6 @@ h2 {
font-weight: 500;
background: var(--surface-base);
transition: border-color $transition-fast ease;
- align-items: center;
- gap: 8px;
&:hover {
border-color: var(--primary);
diff --git a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
index 27582eb7..5d8be924 100644
--- a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
+++ b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
@@ -89,16 +89,16 @@ const faqs = [
}
.section-header {
- text-align: center;
margin-bottom: 3rem;
+ text-align: center;
}
h2 {
+ margin-bottom: 0.5rem;
border: none;
font-size: clamp(2rem, 4vw, 2.5rem);
font-weight: 800;
letter-spacing: -0.02em;
- margin-bottom: 0.5rem;
}
.subtitle {
@@ -109,8 +109,8 @@ h2 {
.faq-container {
display: grid;
align-items: start;
- gap: 3rem;
grid-template-columns: 1.5fr 1fr;
+ gap: 3rem;
}
.faq-list {
@@ -140,6 +140,9 @@ h2 {
.faq-question {
display: flex;
+ justify-content: space-between;
+ align-items: center;
+ gap: 1rem;
width: 100%;
padding: 1.25rem 1.5rem;
border: none;
@@ -148,15 +151,15 @@ h2 {
color: var(--text-body);
text-align: left;
background: none;
- transition: color $transition-fast ease;
- align-items: center;
cursor: pointer;
- gap: 1rem;
- justify-content: space-between;
+ transition: color $transition-fast ease;
}
.question-icon {
display: flex;
+ flex-shrink: 0;
+ justify-content: center;
+ align-items: center;
width: 28px;
height: 28px;
border-radius: var(--radius-md);
@@ -165,9 +168,6 @@ h2 {
transition:
color $transition-medium ease,
background-color $transition-medium ease;
- align-items: center;
- flex-shrink: 0;
- justify-content: center;
.open & {
color: white;
@@ -209,31 +209,31 @@ h2 {
}
.cta-content h3 {
+ margin-bottom: 0.5rem;
font-size: 1.25rem;
font-weight: 700;
- margin-bottom: 0.5rem;
}
.cta-content p {
+ margin-bottom: 1.5rem;
font-size: 0.9rem;
color: var(--text-secondary);
- margin-bottom: 1.5rem;
}
.cta-btn {
display: inline-flex;
+ align-items: center;
+ gap: 8px;
padding: 12px 24px;
border-radius: var(--radius-lg);
font-size: 14px;
font-weight: 600;
color: white;
+ text-decoration: none;
background: #5865f2;
transition:
box-shadow $transition-medium ease,
transform $transition-medium ease;
- align-items: center;
- gap: 8px;
- text-decoration: none;
&:hover {
box-shadow: 0 8px 20px rgb(88 101 242 / 30%);
diff --git a/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue b/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue
index 93f29a05..8888c17b 100644
--- a/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue
+++ b/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue
@@ -107,11 +107,11 @@ section {
}
.section-title {
+ margin-bottom: 1rem;
font-size: clamp(1.5rem, 2.5vw + 1rem, 2.5rem);
font-weight: 800;
color: var(--text-primary);
text-align: center;
- margin-bottom: 1rem;
}
.section-subtitle {
@@ -143,12 +143,12 @@ section {
.timeline-item {
position: relative;
display: flex;
+ align-items: center;
+ margin-bottom: 5rem;
opacity: 0;
transition:
opacity 0.8s ease,
transform 0.8s ease;
- align-items: center;
- margin-bottom: 5rem;
transform: translateY(40px);
&.visible {
@@ -162,19 +162,19 @@ section {
.timeline-content {
display: flex;
- width: 100%;
+ justify-content: space-between;
align-items: center;
gap: clamp(1rem, 4vw, 3rem);
- justify-content: space-between;
+ width: 100%;
.text {
- padding: 0.5rem;
flex: 1;
+ padding: 0.5rem;
h3 {
+ margin-bottom: 0.8rem;
font-size: clamp(1.1rem, 1.6vw + 0.75rem, 1.5rem);
color: #111;
- margin-bottom: 0.8rem;
}
p {
@@ -195,10 +195,10 @@ section {
border-radius: 16px;
background: white;
box-shadow: var(--shadow-lg);
+ cursor: zoom-in;
transition:
transform 0.5s ease,
box-shadow 0.5s ease;
- cursor: zoom-in;
&:hover {
box-shadow: var(--shadow-xl);
@@ -223,10 +223,10 @@ section {
position: fixed;
z-index: 2000;
display: flex;
+ justify-content: center;
align-items: center;
animation: fadeIn $transition-base ease;
inset: 0;
- justify-content: center;
.lightbox-content {
position: relative;
@@ -244,10 +244,10 @@ section {
}
.caption {
+ margin-top: 1rem;
font-size: 1rem;
color: #f0f0f0;
text-align: center;
- margin-top: 1rem;
}
.close-btn {
@@ -259,8 +259,8 @@ section {
line-height: 1;
color: white;
background: transparent;
- transition: transform $transition-base ease;
cursor: pointer;
+ transition: transform $transition-base ease;
&:hover {
transform: scale(1.2);
@@ -307,8 +307,8 @@ section {
.timeline-item,
.timeline-content {
- align-items: flex-start;
flex-direction: column !important;
+ align-items: flex-start;
.timeline-content {
flex-direction: column;
@@ -353,8 +353,8 @@ section {
@media (width <= 400px) {
.section-subtitle {
- padding: 0 0.25rem;
margin-bottom: 2rem;
+ padding: 0 0.25rem;
}
}
diff --git a/frontend/app/pages/(public)/about.vue b/frontend/app/pages/(public)/about.vue
index 57e562be..e2c8f0eb 100644
--- a/frontend/app/pages/(public)/about.vue
+++ b/frontend/app/pages/(public)/about.vue
@@ -118,21 +118,21 @@ onMounted(() => {
<style scoped lang="scss">
main {
- padding: 0 2rem;
margin-top: 1em;
+ padding: 0 2rem;
overflow-x: hidden;
}
.hero {
position: relative;
display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ margin-bottom: 4rem;
padding: 4rem 2rem;
border-radius: 1rem;
color: white;
background: radial-gradient(1200px 400px at 20% -10%, rgb(255 255 255 / 8%), transparent), linear-gradient(120deg, var(--primary), #6c63ff);
- align-items: center;
- flex-wrap: wrap;
- margin-bottom: 4rem;
overflow: hidden;
}
@@ -142,9 +142,9 @@ main {
.hero-image {
width: 600px;
+ margin-top: 10px;
border-radius: 1rem;
box-shadow: var(--shadow-xl);
- margin-top: 10px;
}
.gradient-text {
@@ -198,9 +198,9 @@ main {
}
.section-title {
+ margin-bottom: 1rem;
font-size: 2rem;
color: var(--text-primary);
- margin-bottom: 1rem;
}
.section-text {
@@ -210,22 +210,22 @@ main {
}
.feature-list {
+ margin-top: 2rem;
padding: 0;
text-align: left;
list-style: none;
- margin-top: 2rem;
}
.feature-list li {
- line-height: 1.6;
margin-bottom: 0.8rem;
+ line-height: 1.6;
}
.demo-gallery {
display: flex;
flex-wrap: wrap;
- gap: 1.5rem;
justify-content: center;
+ gap: 1.5rem;
margin-top: 2rem;
}
@@ -259,9 +259,9 @@ main {
}
.hero {
+ flex-direction: column;
padding: 2rem 1rem;
text-align: center;
- flex-direction: column;
}
.hero-image {
diff --git a/frontend/app/pages/(public)/doc/[id]/index.vue b/frontend/app/pages/(public)/doc/[id]/index.vue
index a049438b..16c70af0 100644
--- a/frontend/app/pages/(public)/doc/[id]/index.vue
+++ b/frontend/app/pages/(public)/doc/[id]/index.vue
@@ -86,13 +86,13 @@ useSeoMeta({
.reader {
display: grid;
align-items: start;
- column-gap: 20px;
grid-template-columns: 1fr minmax(0, 800px) 1fr;
+ column-gap: 20px;
}
.doc-container {
- margin: 0;
grid-column: 2;
+ margin: 0;
}
@media screen and (width >= 810px) {
@@ -105,9 +105,9 @@ useSeoMeta({
.toc {
position: sticky;
top: 1rem;
+ grid-column: 3;
width: 100%;
max-width: 320px;
- grid-column: 3;
justify-self: start;
}
diff --git a/frontend/app/pages/(public)/index.vue b/frontend/app/pages/(public)/index.vue
index d1763984..b912c713 100644
--- a/frontend/app/pages/(public)/index.vue
+++ b/frontend/app/pages/(public)/index.vue
@@ -90,20 +90,20 @@ onMounted(() => {
<style scoped lang="scss">
main {
- padding: 0 2rem;
margin-top: 1em;
+ padding: 0 2rem;
overflow-x: hidden;
}
.hero {
position: relative;
display: flex;
+ flex-wrap: wrap;
+ align-items: center;
padding: 4rem 2rem;
border-radius: 1rem;
color: white;
background: radial-gradient(1200px 400px at 20% -10%, rgb(255 255 255 / 8%), transparent), linear-gradient(120deg, var(--primary), #6c63ff);
- align-items: center;
- flex-wrap: wrap;
overflow: hidden;
}
@@ -113,9 +113,9 @@ main {
.hero-image {
width: 600px;
+ margin-top: 10px;
border-radius: 1rem;
box-shadow: var(--shadow-xl);
- margin-top: 10px;
}
.gradient-text {
@@ -185,8 +185,8 @@ main {
position: absolute;
border-radius: 50%;
opacity: 0.55;
- filter: blur(40px);
transform: translate3d(calc(var(--px, 0) * 20px), calc(var(--py, 0) * 20px), 0);
+ filter: blur(40px);
}
.orb-1 {
@@ -243,9 +243,9 @@ main {
}
.hero {
+ flex-direction: column;
padding: 2rem 1rem;
text-align: center;
- flex-direction: column;
}
.hero-image {
diff --git a/frontend/app/pages/(public)/login/done.vue b/frontend/app/pages/(public)/login/done.vue
index 841d3d73..380b44ed 100644
--- a/frontend/app/pages/(public)/login/done.vue
+++ b/frontend/app/pages/(public)/login/done.vue
@@ -12,13 +12,13 @@
<style scoped lang="scss">
.container {
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
max-width: 600px;
margin: 0 auto;
padding: 20px;
text-align: center;
- align-items: center;
- flex-direction: column;
- justify-content: center;
}
h1 {
@@ -26,8 +26,8 @@ h1 {
}
p {
- font-size: 1.2em;
margin-bottom: 20px;
+ font-size: 1.2em;
}
.button {
@@ -35,8 +35,8 @@ p {
padding: 10px 20px;
border-radius: 5px;
color: white;
+ text-decoration: none;
background-color: var(--primary);
transition: background-color $transition-medium;
- text-decoration: none;
}
</style>
diff --git a/frontend/app/pages/(public)/login/index.vue b/frontend/app/pages/(public)/login/index.vue
index 4a0fbf0c..18dfebe3 100644
--- a/frontend/app/pages/(public)/login/index.vue
+++ b/frontend/app/pages/(public)/login/index.vue
@@ -152,12 +152,12 @@ async function handleVerify2FA() {
<style scoped lang="scss">
.body-container {
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
width: 100%;
max-width: 600px;
margin: 0 auto;
- align-items: center;
- flex-direction: column;
- justify-content: center;
}
h1 {
@@ -192,16 +192,16 @@ input {
top: 50%;
right: 8px;
display: flex;
+ justify-content: center;
+ align-items: center;
padding: 8px;
border: none;
border-radius: 50%;
background: transparent;
+ cursor: pointer;
transition:
background-color $transition-fast ease,
transform $transition-fast ease;
- align-items: center;
- cursor: pointer;
- justify-content: center;
transform: translateY(-50%);
&:hover {
@@ -214,19 +214,19 @@ input {
}
.disabled {
+ margin-top: 0.5rem;
font-size: 0.9rem;
color: var(--text-muted);
text-align: center;
- margin-top: 0.5rem;
}
.eye-icon {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 20px;
height: 20px;
transition: transform $transition-medium ease;
- align-items: center;
- justify-content: center;
&.show {
transform: scale(1.1);
@@ -236,12 +236,12 @@ input {
/* ===== Links ===== */
.signup-link {
display: block;
+ margin-bottom: 1rem;
font-weight: 500;
color: var(--primary);
text-align: center;
- transition: color $transition-fast ease;
- margin-bottom: 1rem;
text-decoration: none;
+ transition: color $transition-fast ease;
&:hover {
color: var(--primary-dark);
@@ -250,10 +250,10 @@ input {
}
.forgot-password-link {
+ margin-top: 1rem;
font-size: 16px;
font-weight: 500;
text-align: center;
- margin-top: 1rem;
a {
font-weight: 600;
@@ -270,6 +270,7 @@ input {
/* ===== Buttons ===== */
.btn {
width: 100%;
+ margin-top: 1rem;
padding: 0.9rem;
border: none;
border-radius: var(--radius-lg);
@@ -277,11 +278,10 @@ input {
font-weight: 600;
color: white;
background-color: var(--primary);
+ cursor: pointer;
transition:
background-color $transition-fast ease,
transform $transition-fast ease;
- cursor: pointer;
- margin-top: 1rem;
&:hover {
background: var(--primary-dark);
@@ -310,8 +310,8 @@ input {
text-align: center;
&.general {
- font-size: 0.9rem;
margin-top: 1rem;
+ font-size: 0.9rem;
}
}
</style>
diff --git a/frontend/app/pages/(public)/login/oidc/callback.vue b/frontend/app/pages/(public)/login/oidc/callback.vue
index b2b1b108..c99cff1a 100644
--- a/frontend/app/pages/(public)/login/oidc/callback.vue
+++ b/frontend/app/pages/(public)/login/oidc/callback.vue
@@ -89,20 +89,20 @@ h1 {
.body-container {
display: flex;
- width: 100%;
- max-width: 500px;
- margin: 0 auto;
- align-items: center;
flex: 1;
flex-direction: column;
justify-content: center;
+ align-items: center;
+ width: 100%;
+ max-width: 500px;
+ margin: 0 auto;
}
.status-container {
display: flex;
- text-align: center;
- align-items: center;
flex-direction: column;
+ align-items: center;
+ text-align: center;
p {
margin: 0.25rem 0;
@@ -117,8 +117,8 @@ h1 {
}
.redirect-notice {
- opacity: 0.8;
margin-top: 1rem !important;
+ opacity: 0.8;
}
.actions-row {
diff --git a/frontend/app/pages/(public)/login/request-reset.vue b/frontend/app/pages/(public)/login/request-reset.vue
index 88e953d9..c2c1ae97 100644
--- a/frontend/app/pages/(public)/login/request-reset.vue
+++ b/frontend/app/pages/(public)/login/request-reset.vue
@@ -39,12 +39,12 @@ async function reset() {
<style scoped lang="scss">
.body-container {
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
width: 100%;
max-width: 600px;
margin: 0 auto 10%;
- align-items: center;
- flex-direction: column;
- justify-content: center;
}
h1 {
@@ -57,8 +57,8 @@ form {
.form-group {
display: flex;
- width: 100%;
flex-direction: column;
+ width: 100%;
margin-bottom: 1rem;
}
@@ -85,10 +85,10 @@ input {
}
.invalid-feedback {
+ margin-top: 0.5rem;
font-size: 15px;
color: var(--red);
text-align: center;
- margin-top: 0.5rem;
}
.issue {
diff --git a/frontend/app/pages/(public)/login/reset.vue b/frontend/app/pages/(public)/login/reset.vue
index 430eb683..17a79790 100644
--- a/frontend/app/pages/(public)/login/reset.vue
+++ b/frontend/app/pages/(public)/login/reset.vue
@@ -72,22 +72,22 @@ async function reset() {
<style scoped lang="scss">
.container {
display: flex;
+ flex-direction: column;
+ justify-content: space-between;
width: 95%;
height: 100%;
margin: 0 auto;
- flex-direction: column;
- justify-content: space-between;
padding-top: 1.5rem;
}
.body-container {
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
width: 100%;
max-width: 600px;
margin: 0 auto 10%;
- align-items: center;
- flex-direction: column;
- justify-content: center;
}
h1 {
@@ -111,8 +111,8 @@ form {
border: none;
font-size: 0.8rem;
background-color: transparent;
- cursor: pointer;
outline: none;
+ cursor: pointer;
transform: translateY(-50%);
&:hover {
@@ -122,8 +122,8 @@ form {
.form-group {
display: flex;
- width: 100%;
flex-direction: column;
+ width: 100%;
margin-bottom: 1rem;
}
diff --git a/frontend/app/pages/(public)/signup.vue b/frontend/app/pages/(public)/signup.vue
index 94254d1c..3699cfc4 100644
--- a/frontend/app/pages/(public)/signup.vue
+++ b/frontend/app/pages/(public)/signup.vue
@@ -118,12 +118,12 @@ async function createAccount(username: string, email: string, password: string)
<style scoped lang="scss">
.body-container {
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
width: 100%;
max-width: 600px;
margin: 0 auto;
- align-items: center;
- flex-direction: column;
- justify-content: center;
}
h1 {
@@ -168,16 +168,16 @@ input {
top: 50%;
right: 8px;
display: flex;
+ justify-content: center;
+ align-items: center;
padding: 8px;
border: none;
border-radius: 50%;
background: transparent;
+ cursor: pointer;
transition:
background-color $transition-fast ease,
transform $transition-fast ease;
- align-items: center;
- cursor: pointer;
- justify-content: center;
transform: translateY(-50%);
&:hover {
@@ -191,11 +191,11 @@ input {
.eye-icon {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 20px;
height: 20px;
transition: transform $transition-medium ease;
- align-items: center;
- justify-content: center;
&.show {
transform: scale(1.1);
@@ -224,6 +224,7 @@ input {
.btn {
width: 100%;
+ margin-top: 1rem;
padding: 0.9rem;
border: none;
border-radius: var(--radius-lg);
@@ -231,12 +232,11 @@ input {
font-weight: 600;
color: white;
background-color: var(--primary);
+ cursor: pointer;
transition:
background-color $transition-fast ease,
box-shadow $transition-fast ease,
transform $transition-fast ease;
- cursor: pointer;
- margin-top: 1rem;
&:hover {
background: var(--primary-dark);
diff --git a/frontend/app/pages/dashboard.vue b/frontend/app/pages/dashboard.vue
index c820a26a..88c3ffcc 100644
--- a/frontend/app/pages/dashboard.vue
+++ b/frontend/app/pages/dashboard.vue
@@ -35,7 +35,7 @@ onBeforeUnmount(() => {
<style lang="scss">
.dashboard-root {
display: flex;
- height: 100%;
flex-direction: column;
+ height: 100%;
}
</style>
diff --git a/frontend/app/pages/dashboard/admin/index.vue b/frontend/app/pages/dashboard/admin/index.vue
index 3c95fa54..f12e076f 100644
--- a/frontend/app/pages/dashboard/admin/index.vue
+++ b/frontend/app/pages/dashboard/admin/index.vue
@@ -155,9 +155,9 @@ a:hover {
.admin-header {
display: flex;
+ justify-content: space-between;
align-items: center;
gap: 1rem;
- justify-content: space-between;
}
.stats-loading,
@@ -216,13 +216,13 @@ a:hover {
.month-row {
display: grid;
+ grid-template-columns: repeat(12, minmax(0, 1fr));
+ gap: 0.2rem;
margin: 0;
padding: 0;
font-size: 0.72rem;
color: var(--text-muted);
text-align: center;
- gap: 0.2rem;
- grid-template-columns: repeat(12, minmax(0, 1fr));
list-style: none;
}
@@ -232,8 +232,8 @@ table {
@media screen and (width <= 900px) {
.admin-header {
- align-items: flex-start;
flex-direction: column;
+ align-items: flex-start;
}
.kpi-grid {
diff --git a/frontend/app/pages/dashboard/admin/users/[id]/documents/[doc_id].vue b/frontend/app/pages/dashboard/admin/users/[id]/documents/[doc_id].vue
index 757dcfd2..59a1b614 100644
--- a/frontend/app/pages/dashboard/admin/users/[id]/documents/[doc_id].vue
+++ b/frontend/app/pages/dashboard/admin/users/[id]/documents/[doc_id].vue
@@ -1,5 +1,6 @@
<template>
- <div class="page-card" style="height: 100%; overflow: auto">
+ <div class="page-card" style="height: 100%;
+ overflow: auto">
<h1>Node advanced view</h1>
<div v-if="document">
<div class="columns">
@@ -75,10 +76,15 @@
</div>
<label for="content">Content</label>
- <div style="display: flex; width: 100%; height: 500px; flex: 1; gap: 10px">
- <textarea v-model="document.content" style="height: 500px; flex: 1; overflow: auto"></textarea>
+ <div style="display: flex; flex: 1; gap: 10px;
+ width: 100%; height: 500px">
+ <textarea v-model="document.content" style=" flex: 1;
+height: 500px;
+ overflow: auto"></textarea>
<!-- eslint-disable-next-line vue/no-v-html -->
- <div style="height: 500px; flex: 1; overflow: auto" class="alexandrie-theme" v-html="document.content_compiled" />
+ <div style=" flex: 1;
+height: 500px;
+ overflow: auto" class="alexandrie-theme" v-html="document.content_compiled" />
</div>
</div>
diff --git a/frontend/app/pages/dashboard/admin/users/[id]/index.vue b/frontend/app/pages/dashboard/admin/users/[id]/index.vue
index 1e54be49..bb9514bf 100644
--- a/frontend/app/pages/dashboard/admin/users/[id]/index.vue
+++ b/frontend/app/pages/dashboard/admin/users/[id]/index.vue
@@ -1,7 +1,8 @@
<template>
<div class="page-card">
- <h2 style="display: flex; align-items: center; justify-content: space-between">
- User Details <img v-if="user" style="width: 40px; height: 40px; border-radius: 50%" :src="avatarURL(user)" />
+ <h2 style="display: flex; justify-content: space-between; align-items: center">
+ User Details <img v-if="user" style="width: 40px; height: 40px;
+ border-radius: 50%" :src="avatarURL(user)" />
</h2>
<div v-if="user" style="width: 100%">
<div class="user-details">
@@ -28,7 +29,8 @@
<option :value="2">Admin</option>
</select>
</div>
- <div style="display: flex; width: 100%">
+ <div style="display: flex;
+ width: 100%">
<div class="user-detail">
<label>Created At</label>
<div class="value">{{ numericDate(user.created_timestamp) }}</div>
@@ -78,18 +80,18 @@ const saveChanges = async () => {
<style scoped lang="scss">
.user-details {
display: flex;
- width: 100%;
- align-items: flex-start;
flex-direction: column;
+ align-items: flex-start;
gap: 1rem;
+ width: 100%;
}
.user-detail {
display: flex;
- width: 100%;
- align-items: flex-start;
flex-direction: column;
+ align-items: flex-start;
gap: 0.5rem;
+ width: 100%;
}
label {
diff --git a/frontend/app/pages/dashboard/categories/[id]/edit.vue b/frontend/app/pages/dashboard/categories/[id]/edit.vue
index 24de1f4c..dac7bb4b 100644
--- a/frontend/app/pages/dashboard/categories/[id]/edit.vue
+++ b/frontend/app/pages/dashboard/categories/[id]/edit.vue
@@ -116,7 +116,7 @@ label {
}
.form-column {
- min-width: 200px;
flex: 1;
+ min-width: 200px;
}
</style>
diff --git a/frontend/app/pages/dashboard/categories/_components/WorkspaceTree.vue b/frontend/app/pages/dashboard/categories/_components/WorkspaceTree.vue
index 0c8d9808..e1451f01 100644
--- a/frontend/app/pages/dashboard/categories/_components/WorkspaceTree.vue
+++ b/frontend/app/pages/dashboard/categories/_components/WorkspaceTree.vue
@@ -2,7 +2,8 @@
<div v-if="node.data.role === 2" class="tree-node">
<div class="tree-content">
<div class="tree-label">
- <Icon class="icon" name="folder" style="display: inline; width: 18px" fill="var(--orange)" />
+ <Icon class="icon" name="folder" style="display: inline;
+ width: 18px" fill="var(--orange)" />
<span>{{ node.label }}</span>
</div>
<div class="tree-actions">
@@ -28,16 +29,16 @@ defineEmits(['edit', 'delete']);
<style scoped lang="scss">
.tree-node {
position: relative;
- border-left: 1px solid var(--border);
margin-left: 20px;
padding-left: 12px;
+ border-left: 1px solid var(--border);
}
.tree-content {
position: relative;
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
}
.tree-content::before {
@@ -52,9 +53,9 @@ defineEmits(['edit', 'delete']);
.tree-label {
display: flex;
+ align-items: center;
padding: 4px 0;
font-size: 14px;
- align-items: center;
span {
margin-left: 4px;
diff --git a/frontend/app/pages/dashboard/categories/index.vue b/frontend/app/pages/dashboard/categories/index.vue
index 8996373d..df0af223 100644
--- a/frontend/app/pages/dashboard/categories/index.vue
+++ b/frontend/app/pages/dashboard/categories/index.vue
@@ -19,7 +19,7 @@
</h3>
<WorkspaceTree v-for="node in workspace.children" :key="node.id" :node="node" @edit="editNode" @delete="deleteNode" />
</div>
- <div v-if="!filteredItems.length" style="color: #6c757d; font-style: italic">{{ t('nodes.container.noWorkspaces') }}</div>
+ <div v-if="!filteredItems.length" style=" font-style: italic;color: #6c757d">{{ t('nodes.container.noWorkspaces') }}</div>
</div>
</template>
@@ -59,12 +59,12 @@ function deleteNode(node: TreeItem<Node>) {
<style scoped>
.workspace {
display: block;
+ flex-direction: column;
width: 100%;
+ margin-bottom: 16px;
padding: 5px 15px;
border: var(--border) 1px solid;
border-radius: var(--radius-lg);
- flex-direction: column;
- margin-bottom: 16px;
}
.wp-name {
diff --git a/frontend/app/pages/dashboard/cdn/[id]/index.vue b/frontend/app/pages/dashboard/cdn/[id]/index.vue
index 1a270a56..a0c2476f 100644
--- a/frontend/app/pages/dashboard/cdn/[id]/index.vue
+++ b/frontend/app/pages/dashboard/cdn/[id]/index.vue
@@ -103,8 +103,8 @@ label {
}
.form-column {
- min-width: 200px;
flex: 1;
+ min-width: 200px;
}
a {
diff --git a/frontend/app/pages/dashboard/cdn/[id]/preview.vue b/frontend/app/pages/dashboard/cdn/[id]/preview.vue
index eba4136e..d60dd310 100644
--- a/frontend/app/pages/dashboard/cdn/[id]/preview.vue
+++ b/frontend/app/pages/dashboard/cdn/[id]/preview.vue
@@ -92,9 +92,9 @@ onUnmounted(() => {
<style scoped lang="scss">
header {
display: flex;
- align-items: center;
flex-wrap: wrap;
justify-content: space-between;
+ align-items: center;
}
.preview {
@@ -112,7 +112,7 @@ header {
.no-preview {
display: flex;
- text-align: center;
flex-direction: column;
+ text-align: center;
}
</style>
diff --git a/frontend/app/pages/dashboard/cdn/diagram.vue b/frontend/app/pages/dashboard/cdn/diagram.vue
index cadd3a10..8706d395 100644
--- a/frontend/app/pages/dashboard/cdn/diagram.vue
+++ b/frontend/app/pages/dashboard/cdn/diagram.vue
@@ -73,9 +73,9 @@ onBeforeUnmount(() => {
<style scoped lang="scss">
.drawio-editor-modal {
display: flex;
- height: 100%;
flex-direction: column;
gap: 12px;
+ height: 100%;
margin-top: 10px;
}
@@ -87,11 +87,11 @@ aside {
.drawio-content {
position: relative;
+ flex: 1;
min-height: 0;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--surface-base);
- flex: 1;
overflow: hidden;
}
@@ -106,12 +106,12 @@ aside {
position: absolute;
z-index: 10;
display: flex;
- background: var(--surface-base);
- align-items: center;
flex-direction: column;
+ justify-content: center;
+ align-items: center;
gap: 12px;
+ background: var(--surface-base);
inset: 0;
- justify-content: center;
p {
font-size: 14px;
diff --git a/frontend/app/pages/dashboard/home.vue b/frontend/app/pages/dashboard/home.vue
index 13cb387f..9b203c29 100644
--- a/frontend/app/pages/dashboard/home.vue
+++ b/frontend/app/pages/dashboard/home.vue
@@ -218,8 +218,8 @@ const openJoinModal = () => modals.add(new Modal(shallowRef(NodeJoin), { size: '
<style scoped lang="scss">
.home-top {
- padding: 3rem 1.5rem;
margin-top: 0.5rem;
+ padding: 3rem 1.5rem;
}
.home-container {
@@ -232,17 +232,17 @@ const openJoinModal = () => modals.add(new Modal(shallowRef(NodeJoin), { size: '
// Header
.home-header {
display: flex;
- align-items: flex-start;
flex-wrap: wrap;
- gap: 1rem;
justify-content: space-between;
+ align-items: flex-start;
+ gap: 1rem;
margin-bottom: 2rem;
}
.greeting h1 {
+ margin-bottom: 0.25rem;
font-size: 2rem;
font-weight: 700;
- margin-bottom: 0.25rem;
}
.subtitle {
@@ -268,6 +268,7 @@ const openJoinModal = () => modals.add(new Modal(shallowRef(NodeJoin), { size: '
.search-wrapper {
display: flex;
+ align-items: center;
padding: 0.75rem 1rem;
border: 2px solid var(--border);
border-radius: var(--radius-lg);
@@ -275,7 +276,6 @@ const openJoinModal = () => modals.add(new Modal(shallowRef(NodeJoin), { size: '
transition:
border-color $transition-fast,
box-shadow $transition-fast;
- align-items: center;
&.focused {
border-color: var(--primary);
@@ -284,16 +284,16 @@ const openJoinModal = () => modals.add(new Modal(shallowRef(NodeJoin), { size: '
}
.search-icon {
- color: var(--text-secondary);
margin-right: 0.75rem;
+ color: var(--text-secondary);
}
.search-input {
+ flex: 1;
border: none;
font-size: 1rem;
color: var(--text-body);
background: transparent;
- flex: 1;
outline: none;
&::placeholder {
@@ -328,13 +328,13 @@ const openJoinModal = () => modals.add(new Modal(shallowRef(NodeJoin), { size: '
.search-result {
display: flex;
+ align-items: center;
+ gap: 0.75rem;
padding: 0.75rem 1rem;
border-radius: var(--radius-md);
color: var(--text-body);
- transition: background $transition-fast;
- align-items: center;
- gap: 0.75rem;
text-decoration: none;
+ transition: background $transition-fast;
&:hover {
background: var(--surface-raised);
@@ -350,22 +350,22 @@ const openJoinModal = () => modals.add(new Modal(shallowRef(NodeJoin), { size: '
}
.node-icon {
+ margin-right: 10px;
padding: 3px;
border-radius: var(--radius-sm);
- margin-right: 10px;
}
.result-content {
- min-width: 0;
flex: 1;
+ min-width: 0;
}
.result-name {
display: block;
font-weight: 500;
- overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ overflow: hidden;
}
.result-path {
@@ -389,57 +389,57 @@ const openJoinModal = () => modals.add(new Modal(shallowRef(NodeJoin), { size: '
.section-header {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
margin-bottom: 1rem;
h2 {
display: flex;
- font-size: 1.1rem;
- align-items: center;
flex: 1;
+ align-items: center;
gap: 0.5rem;
+ font-size: 1.1rem;
}
}
// Continue working cards
.continue-working {
display: grid;
- gap: 1rem;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
+ gap: 1rem;
}
// Pinned
.pinned-grid {
display: grid;
- gap: 1rem;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
+ gap: 1rem;
}
// Workspaces
.workspaces-grid {
display: grid;
- gap: 1rem;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
+ gap: 1rem;
}
.add-workspace {
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
min-height: 150px;
border: 2px dashed var(--border);
border-radius: var(--radius-lg);
font-size: 0.9rem;
color: var(--text-secondary);
background: transparent;
+ cursor: pointer;
transition:
border-color $transition-fast,
background $transition-fast,
box-shadow $transition-fast,
transform $transition-fast;
- align-items: center;
- cursor: pointer;
- flex-direction: column;
- justify-content: center;
&:hover {
border-color: var(--primary);
@@ -471,21 +471,21 @@ const openJoinModal = () => modals.add(new Modal(shallowRef(NodeJoin), { size: '
.activity-items {
display: flex;
- border-left: 2px solid var(--border);
flex-direction: column;
gap: 0.25rem;
padding-left: 1rem;
+ border-left: 2px solid var(--border);
}
.activity-item {
display: flex;
+ align-items: center;
+ gap: 0.75rem;
padding: 0.5rem;
border-radius: var(--radius-md);
color: var(--text-body);
- transition: background $transition-fast;
- align-items: center;
- gap: 0.75rem;
text-decoration: none;
+ transition: background $transition-fast;
&:hover {
background: var(--surface-raised);
@@ -499,9 +499,9 @@ const openJoinModal = () => modals.add(new Modal(shallowRef(NodeJoin), { size: '
.activity-content {
display: flex;
- align-items: center;
flex: 1;
justify-content: space-between;
+ align-items: center;
}
.activity-name {
diff --git a/frontend/app/pages/dashboard/import/_components/ImportActions.vue b/frontend/app/pages/dashboard/import/_components/ImportActions.vue
index 7683c075..47ee884b 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportActions.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportActions.vue
@@ -36,10 +36,10 @@ const isImporting = computed(() => props.importJob.status === 'in_progress');
<style scoped lang="scss">
.actions-card {
display: flex;
- padding: 1rem;
+ justify-content: space-between;
align-items: center;
+ padding: 1rem;
border-top: 1px solid var(--border);
- 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 6048243e..356d32f9 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportHeader.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportHeader.vue
@@ -68,8 +68,8 @@ const { numericDate } = useDateFormatters();
.info-grid {
display: grid;
- gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
+ gap: 1rem;
margin-bottom: 1rem;
}
@@ -97,13 +97,13 @@ const { numericDate } = useDateFormatters();
.badge {
display: inline-flex;
+ align-items: center;
+ gap: 0.25rem;
padding: 0.25rem 0.5rem;
border-radius: var(--radius-sm);
font-size: 0.75rem;
color: var(--text-primary);
opacity: 0.5;
- align-items: center;
- gap: 0.25rem;
&.active {
color: var(--primary);
diff --git a/frontend/app/pages/dashboard/import/_components/ImportProgress.vue b/frontend/app/pages/dashboard/import/_components/ImportProgress.vue
index 827ee4c8..4d5cc942 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportProgress.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportProgress.vue
@@ -48,8 +48,8 @@ const statusLabel = computed(() => {
<style scoped lang="scss">
.progress-header {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
margin-bottom: 0.75rem;
}
@@ -94,9 +94,9 @@ const statusLabel = computed(() => {
.progress-bar-container {
width: 100%;
height: 8px;
+ margin-bottom: 0.75rem;
border-radius: var(--radius-xs);
background: var(--border);
- margin-bottom: 0.75rem;
overflow: hidden;
}
diff --git a/frontend/app/pages/dashboard/import/_components/ImportSummary.vue b/frontend/app/pages/dashboard/import/_components/ImportSummary.vue
index 61bd7db7..8cb4eaa8 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportSummary.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportSummary.vue
@@ -46,18 +46,18 @@ const { t } = useI18nT();
.stats {
display: flex;
flex-wrap: wrap;
- gap: 1rem;
justify-content: space-around;
+ gap: 1rem;
}
.stat {
display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 0.25rem;
width: 200px;
padding: 1rem;
border-radius: var(--radius-sm);
- align-items: center;
- flex-direction: column;
- gap: 0.25rem;
.count {
font-size: 1.75rem;
diff --git a/frontend/app/pages/dashboard/import/_components/ImportTabs.vue b/frontend/app/pages/dashboard/import/_components/ImportTabs.vue
index d89bec3c..217c3663 100644
--- a/frontend/app/pages/dashboard/import/_components/ImportTabs.vue
+++ b/frontend/app/pages/dashboard/import/_components/ImportTabs.vue
@@ -150,32 +150,32 @@ function importLocalSettings() {
// Documents Card
.tabs {
display: flex;
+ gap: 0;
width: 100%;
+ margin-bottom: 2rem;
padding: 0 1.5rem;
border-bottom: 1px solid var(--border);
- gap: 0;
- margin-bottom: 2rem;
button {
+ flex: 1;
padding: 1rem 1.5rem;
border: none;
+ border-bottom: 2px solid transparent;
font-size: 15px;
color: var(--text-primary);
background: none;
+ cursor: pointer;
transition:
color $transition-fast ease,
border-bottom-color $transition-fast ease;
- border-bottom: 2px solid transparent;
- cursor: pointer;
- flex: 1;
&:hover {
color: var(--text-body);
}
&.active {
- color: var(--primary);
border-bottom-color: var(--primary);
+ color: var(--primary);
}
}
}
@@ -186,11 +186,11 @@ function importLocalSettings() {
.empty-state {
display: flex;
- padding: 3rem;
- color: var(--text-primary);
- align-items: center;
flex-direction: column;
justify-content: center;
+ align-items: center;
+ padding: 3rem;
+ color: var(--text-primary);
p {
margin-top: 0.5rem;
@@ -199,24 +199,24 @@ function importLocalSettings() {
.list-header {
display: flex;
- align-items: center;
- border-bottom: 1px solid var(--border);
justify-content: space-between;
+ align-items: center;
margin-bottom: 1rem;
padding-bottom: 1rem;
+ border-bottom: 1px solid var(--border);
}
.documents-list {
display: flex;
- max-height: 400px;
flex-direction: column;
gap: 0.5rem;
+ max-height: 400px;
overflow-y: auto;
}
.warning {
display: flex;
- color: var(--red);
align-items: center;
+ color: var(--red);
}
</style>
diff --git a/frontend/app/pages/dashboard/import/advanced.vue b/frontend/app/pages/dashboard/import/advanced.vue
index 7a63a4f7..aebb53dc 100644
--- a/frontend/app/pages/dashboard/import/advanced.vue
+++ b/frontend/app/pages/dashboard/import/advanced.vue
@@ -226,16 +226,16 @@ label {
.panel-head {
display: flex;
+ justify-content: space-between;
align-items: center;
gap: 0.7rem;
- justify-content: space-between;
margin-bottom: 0.65rem;
}
.list {
display: grid;
- max-height: 250px;
gap: 0.35rem;
+ max-height: 250px;
overflow: auto;
}
</style>
diff --git a/frontend/app/pages/dashboard/import/backup.vue b/frontend/app/pages/dashboard/import/backup.vue
index 35357133..31044489 100644
--- a/frontend/app/pages/dashboard/import/backup.vue
+++ b/frontend/app/pages/dashboard/import/backup.vue
@@ -216,9 +216,9 @@ async function importAll() {
}
.error-text {
+ margin-top: 0.5rem;
font-size: 0.9rem;
color: var(--red);
text-align: center;
- margin-top: 0.5rem;
}
</style>
diff --git a/frontend/app/pages/dashboard/import/files.vue b/frontend/app/pages/dashboard/import/files.vue
index 42559ba6..f6fdf178 100644
--- a/frontend/app/pages/dashboard/import/files.vue
+++ b/frontend/app/pages/dashboard/import/files.vue
@@ -117,16 +117,16 @@ async function importNodes(importNodes: DB_Node[]) {
.panel-head {
display: flex;
+ justify-content: space-between;
align-items: center;
gap: 0.7rem;
- justify-content: space-between;
margin-bottom: 0.65rem;
}
.list {
display: grid;
- max-height: 250px;
gap: 0.35rem;
+ max-height: 250px;
overflow: auto;
}
diff --git a/frontend/app/pages/dashboard/import/index.vue b/frontend/app/pages/dashboard/import/index.vue
index c1044dd0..bce41188 100644
--- a/frontend/app/pages/dashboard/import/index.vue
+++ b/frontend/app/pages/dashboard/import/index.vue
@@ -57,12 +57,14 @@ const mark = useMark();
.cards-grid {
display: grid;
- gap: 0.9rem;
grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 0.9rem;
}
.import-card {
display: flex;
+ flex-direction: column;
+ gap: 0.65rem;
min-height: 185px;
padding: 0.9rem;
border: 1px solid var(--border);
@@ -72,14 +74,12 @@ const mark = useMark();
transform 0.18s ease,
box-shadow 0.18s ease,
border-color 0.18s ease;
- flex-direction: column;
- gap: 0.65rem;
.top {
display: flex;
+ justify-content: space-between;
align-items: center;
gap: 0.6rem;
- justify-content: space-between;
}
h3 {
@@ -95,10 +95,10 @@ const mark = useMark();
}
.cta {
+ margin-top: auto;
font-size: 0.84rem;
font-weight: 600;
color: var(--primary);
- margin-top: auto;
}
&:hover {
diff --git a/frontend/app/pages/dashboard/settings/_views/_components/BackupCodes2FA.vue b/frontend/app/pages/dashboard/settings/_views/_components/BackupCodes2FA.vue
index d1ea39a7..a306cbd6 100644
--- a/frontend/app/pages/dashboard/settings/_views/_components/BackupCodes2FA.vue
+++ b/frontend/app/pages/dashboard/settings/_views/_components/BackupCodes2FA.vue
@@ -71,34 +71,34 @@ async function copyAllCodes() {
<style scoped lang="scss">
.modal {
display: flex;
- width: 100%;
flex-direction: column;
gap: 1.25rem;
+ width: 100%;
}
.codes-container {
display: flex;
+ flex-direction: column;
+ gap: 1rem;
padding: 1.25rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-overlay);
- flex-direction: column;
- gap: 1rem;
}
.codes-list {
display: grid;
- gap: 0.75rem 1.5rem;
grid-template-columns: repeat(2, 1fr);
+ gap: 0.75rem 1.5rem;
}
.code-row {
display: flex;
+ align-items: center;
+ gap: 0.75rem;
padding: 0.4rem 0.5rem;
border-radius: var(--radius-sm);
transition: background-color 0.2s ease;
- align-items: center;
- gap: 0.75rem;
&:hover {
background: var(--surface-transparent);
@@ -123,6 +123,10 @@ async function copyAllCodes() {
.btn-copy {
display: inline-flex;
+ justify-content: center;
+ align-items: center;
+ align-self: center;
+ gap: 0.5rem;
padding: 0.5rem 1rem;
border: 1px solid var(--border);
border-radius: var(--radius-md);
@@ -130,12 +134,8 @@ async function copyAllCodes() {
font-weight: 500;
color: var(--text-primary);
background: var(--surface-transparent);
- transition: all 0.2s ease;
- align-items: center;
- align-self: center;
cursor: pointer;
- gap: 0.5rem;
- justify-content: center;
+ transition: all 0.2s ease;
&:hover {
background: var(--border);
@@ -148,8 +148,8 @@ async function copyAllCodes() {
@media (width <= 400px) {
.codes-list {
- gap: 0.5rem;
grid-template-columns: 1fr;
+ gap: 0.5rem;
}
}
</style>
diff --git a/frontend/app/pages/dashboard/settings/_views/_components/SecuritySection2FA.vue b/frontend/app/pages/dashboard/settings/_views/_components/SecuritySection2FA.vue
index 70b3f134..7aad80d2 100644
--- a/frontend/app/pages/dashboard/settings/_views/_components/SecuritySection2FA.vue
+++ b/frontend/app/pages/dashboard/settings/_views/_components/SecuritySection2FA.vue
@@ -82,20 +82,20 @@ function disable2FA() {
<style scoped lang="scss">
header {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
}
h3 {
- margin-top: 2.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
+ margin-top: 2.5rem;
}
.section-description {
- color: var(--text-secondary);
margin-bottom: 1rem;
+ color: var(--text-secondary);
}
.enabled {
@@ -110,13 +110,13 @@ h3 {
.setup-wizard {
display: flex;
+ flex-direction: column;
+ gap: 1.25rem;
+ margin-top: 1rem;
padding: 1.5rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-overlay);
- flex-direction: column;
- gap: 1.25rem;
- margin-top: 1rem;
p {
margin: 0;
@@ -126,15 +126,15 @@ h3 {
.qr-container {
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ gap: 1rem;
width: fit-content;
padding: 1.5rem;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: white;
- align-items: center;
- flex-direction: column;
- gap: 1rem;
- justify-content: center;
.secret-text {
padding: 0.4rem 0.75rem;
@@ -144,8 +144,8 @@ h3 {
font-size: 0.85rem;
color: #333; /* Lisible sur fond blanc */
text-align: center;
- background: var(--surface-background);
word-break: break-all;
+ background: var(--surface-background);
}
}
</style>
diff --git a/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionDanger.vue b/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionDanger.vue
index 88f14391..6294639e 100644
--- a/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionDanger.vue
+++ b/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionDanger.vue
@@ -85,6 +85,7 @@ const openDeleteModal = () => modals.add(new Modal(shallowRef(DeleteAccountModal
h3 {
margin-top: 2.5rem;
}
+
.section {
display: flex;
flex-direction: column;
@@ -94,14 +95,14 @@ h3 {
.card {
display: flex;
+ justify-content: space-between;
+ align-items: center;
+ gap: 1rem;
padding: 1rem 1.25rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-base);
transition: border-color $transition-fast ease;
- align-items: center;
- gap: 1rem;
- justify-content: space-between;
&:hover {
border-color: var(--border-strong);
@@ -119,22 +120,22 @@ h3 {
.card-content {
display: flex;
- min-width: 0;
- align-items: flex-start;
flex: 1;
+ align-items: flex-start;
gap: 1rem;
+ min-width: 0;
}
.card-icon {
display: flex;
+ flex-shrink: 0;
+ justify-content: center;
+ align-items: center;
width: 40px;
height: 40px;
border-radius: var(--radius-lg);
color: var(--text-body);
background: var(--surface-overlay);
- align-items: center;
- flex-shrink: 0;
- justify-content: center;
&.warning {
color: var(--orange-dark);
@@ -148,8 +149,8 @@ h3 {
}
.card-info {
- min-width: 0;
flex: 1;
+ min-width: 0;
h4 {
margin: 0 0 0.25rem;
@@ -183,9 +184,9 @@ h3 {
ul {
margin: 0.5rem 0;
+ padding-left: 1.25rem;
font-size: 0.8rem;
color: var(--text-secondary);
- padding-left: 1.25rem;
li {
margin: 0.2rem 0;
@@ -206,12 +207,12 @@ h3 {
@media (width <= 600px) {
.card {
- align-items: stretch;
flex-direction: column;
+ align-items: stretch;
button {
- width: 100%;
justify-content: center;
+ width: 100%;
}
}
}
diff --git a/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionOIDC.vue b/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionOIDC.vue
index e811ee36..9ad2c272 100644
--- a/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionOIDC.vue
+++ b/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionOIDC.vue
@@ -67,9 +67,10 @@ async function unlinkAccount(providerName: string) {
h3 {
margin-top: 2.5rem;
}
+
.section-description {
- color: var(--text-secondary);
margin-bottom: 1rem;
+ color: var(--text-secondary);
}
.accounts {
@@ -81,21 +82,21 @@ h3 {
.loading {
display: flex;
- padding: 1rem;
- color: var(--text-secondary);
align-items: center;
gap: 0.75rem;
+ padding: 1rem;
+ color: var(--text-secondary);
}
.account {
display: flex;
+ justify-content: space-between;
+ align-items: center;
+ gap: 1rem;
padding: 0.75rem 1rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--bg-secondary);
- align-items: center;
- gap: 1rem;
- justify-content: space-between;
}
.account-info {
@@ -106,10 +107,10 @@ h3 {
.icon {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 24px;
height: 24px;
- align-items: center;
- justify-content: center;
}
.name {
diff --git a/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionSessions.vue b/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionSessions.vue
index 8663c5e9..117a380a 100644
--- a/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionSessions.vue
+++ b/frontend/app/pages/dashboard/settings/_views/_components/SecuritySectionSessions.vue
@@ -50,8 +50,8 @@ h3 {
}
.section-description {
- color: var(--text-secondary);
margin-bottom: 1rem;
+ color: var(--text-secondary);
}
.sessions-list {
@@ -64,9 +64,9 @@ h3 {
.no-sessions {
padding: 1rem;
border-radius: var(--radius-lg);
+ font-style: italic;
color: var(--text-secondary);
text-align: center;
background: var(--surface-raised);
- font-style: italic;
}
</style>
diff --git a/frontend/app/pages/dashboard/settings/_views/_components/SessionCard.vue b/frontend/app/pages/dashboard/settings/_views/_components/SessionCard.vue
index 31d39109..a1381ca7 100644
--- a/frontend/app/pages/dashboard/settings/_views/_components/SessionCard.vue
+++ b/frontend/app/pages/dashboard/settings/_views/_components/SessionCard.vue
@@ -95,6 +95,8 @@ const closeSession = async () => {
<style scoped lang="scss">
.session-card {
display: flex;
+ flex-direction: column;
+ gap: 1rem;
padding: 1rem 1.25rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
@@ -102,8 +104,6 @@ const closeSession = async () => {
transition:
border-color $transition-base ease,
box-shadow $transition-base ease;
- flex-direction: column;
- gap: 1rem;
&:hover {
border-color: var(--border-strong);
@@ -133,14 +133,14 @@ const closeSession = async () => {
.device-icon {
display: flex;
+ flex-shrink: 0;
+ justify-content: center;
+ align-items: center;
width: 44px;
height: 44px;
border-radius: var(--radius-lg);
color: var(--text-body);
background: var(--surface-overlay);
- align-items: center;
- flex-shrink: 0;
- justify-content: center;
svg {
width: 22px;
@@ -160,27 +160,27 @@ const closeSession = async () => {
.session-info-container {
display: flex;
- min-width: 0;
- align-items: flex-start;
flex: 1;
- gap: 0.5rem;
justify-content: space-between;
+ align-items: flex-start;
+ gap: 0.5rem;
+ min-width: 0;
}
.session-info {
display: flex;
- min-width: 0;
flex: 1;
flex-direction: column;
gap: 0.35rem;
+ min-width: 0;
}
.session-title {
display: flex;
- font-size: 0.95rem;
- align-items: center;
flex-wrap: wrap;
+ align-items: center;
gap: 0.5rem;
+ font-size: 0.95rem;
.browser {
font-weight: 600;
@@ -194,13 +194,13 @@ const closeSession = async () => {
.badge {
display: inline-flex;
+ align-items: center;
padding: 0.15rem 0.5rem;
border-radius: var(--radius-xl);
font-size: 0.7rem;
font-weight: 600;
- align-items: center;
- letter-spacing: 0.03em;
text-transform: uppercase;
+ letter-spacing: 0.03em;
&.current {
color: var(--green-dark);
@@ -221,10 +221,10 @@ const closeSession = async () => {
.meta-item {
display: inline-flex;
- font-size: 0.8rem;
- color: var(--text-secondary);
align-items: center;
gap: 0.35rem;
+ font-size: 0.8rem;
+ color: var(--text-secondary);
svg {
width: 14px;
@@ -234,8 +234,8 @@ const closeSession = async () => {
}
.session-details {
- border-top: 1px solid var(--border-subtle);
padding-top: 0.75rem;
+ border-top: 1px solid var(--border-subtle);
}
.detail-row {
@@ -254,8 +254,8 @@ const closeSession = async () => {
font-size: 0.7rem;
font-weight: 500;
color: var(--text-secondary);
- letter-spacing: 0.04em;
text-transform: uppercase;
+ letter-spacing: 0.04em;
}
.detail-value {
@@ -265,18 +265,18 @@ const closeSession = async () => {
.session-user-agent {
display: flex;
- border-top: 1px solid var(--border-subtle);
flex-direction: column;
gap: 0.35rem;
padding-top: 0.75rem;
+ border-top: 1px solid var(--border-subtle);
}
.user-agent-label {
font-size: 0.7rem;
font-weight: 500;
color: var(--text-secondary);
- letter-spacing: 0.04em;
text-transform: uppercase;
+ letter-spacing: 0.04em;
}
.user-agent-value {
@@ -286,7 +286,7 @@ const closeSession = async () => {
font-size: 0.75rem;
line-height: 1.4;
color: var(--text-secondary);
- background: var(--surface-raised);
word-break: break-all;
+ background: var(--surface-raised);
}
</style>
diff --git a/frontend/app/pages/dashboard/settings/_views/backups.vue b/frontend/app/pages/dashboard/settings/_views/backups.vue
index de62bfba..716c58e1 100644
--- a/frontend/app/pages/dashboard/settings/_views/backups.vue
+++ b/frontend/app/pages/dashboard/settings/_views/backups.vue
@@ -268,9 +268,9 @@ onUnmounted(() => {
text-align: left;
h3 {
+ margin-bottom: 1rem;
font-size: 1rem;
color: var(--text-body);
- margin-bottom: 1rem;
}
}
@@ -293,8 +293,8 @@ onUnmounted(() => {
.progress-header {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
margin-bottom: 0.75rem;
}
@@ -333,9 +333,9 @@ onUnmounted(() => {
.progress-bar-container {
width: 100%;
height: 8px;
+ margin-bottom: 0.75rem;
border-radius: var(--radius-xs);
background: var(--border);
- margin-bottom: 0.75rem;
overflow: hidden;
}
@@ -347,22 +347,22 @@ onUnmounted(() => {
}
.progress-message {
+ margin-bottom: 0.75rem;
font-size: 1rem;
font-weight: bold;
color: var(--text-primary);
- margin-bottom: 0.75rem;
}
.error-message {
display: flex;
+ align-items: center;
+ gap: 0.5rem;
+ margin-top: 0.75rem;
padding: 0.75rem;
border-radius: var(--radius-sm);
color: var(--error);
text-align: left;
background: var(--error-bg);
- align-items: center;
- gap: 0.5rem;
- margin-top: 0.75rem;
}
.link-section {
@@ -371,12 +371,12 @@ onUnmounted(() => {
.expiry-notice {
display: flex;
- font-size: 0.75rem;
- color: var(--text-primary);
+ justify-content: center;
align-items: center;
gap: 0.25rem;
- justify-content: center;
margin-bottom: 1rem;
+ font-size: 0.75rem;
+ color: var(--text-primary);
}
input[type='text'] {
diff --git a/frontend/app/pages/dashboard/settings/_views/shortcuts.vue b/frontend/app/pages/dashboard/settings/_views/shortcuts.vue
index 53506f42..a55c28a7 100644
--- a/frontend/app/pages/dashboard/settings/_views/shortcuts.vue
+++ b/frontend/app/pages/dashboard/settings/_views/shortcuts.vue
@@ -136,12 +136,12 @@ const { t } = useI18nT();
<style scoped lang="scss">
.shortcuts {
display: flex;
+ flex-direction: column;
+ gap: 8px;
border-radius: var(--radius-lg);
font-size: 16px;
font-weight: 400;
background-color: var(--surface-transparent);
- flex-direction: column;
- gap: 8px;
text-size-adjust: 100%;
}
@@ -151,12 +151,12 @@ p {
.shortcut {
display: flex;
+ justify-content: space-between;
+ align-items: center;
+ gap: 1rem;
padding: 8px 12px;
border-radius: var(--radius-md);
text-align: left;
- align-items: center;
- gap: 1rem;
- justify-content: space-between;
&:hover {
background-color: var(--surface-transparent);
diff --git a/frontend/app/pages/dashboard/settings/_views/snippets.vue b/frontend/app/pages/dashboard/settings/_views/snippets.vue
index cc344d1f..594b8879 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(--text-secondary);
background: var(--surface-transparent);
- margin-left: 0.5rem;
}
code {
@@ -234,15 +234,17 @@ 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);
border-radius: var(--radius-md);
background: var(--surface-base);
box-shadow: var(--shadow-md);
- margin-top: 0.25rem;
button {
display: flex;
+ align-items: center;
+ gap: 0.5rem;
width: 100%;
padding: 0.5rem 0.75rem;
border: none;
@@ -251,9 +253,7 @@ const handleDictImport = async (e: Event) => {
color: var(--text-body);
text-align: left;
background: none;
- align-items: center;
cursor: pointer;
- gap: 0.5rem;
&:hover {
background: var(--surface-transparent);
@@ -270,6 +270,8 @@ const handleDictImport = async (e: Event) => {
.selected-count {
display: flex;
+ justify-content: center;
+ align-items: center;
width: 32px;
height: 36px;
padding: 6px;
@@ -278,19 +280,17 @@ const handleDictImport = async (e: Event) => {
font-size: 13px;
font-weight: bold;
color: var(--text-secondary);
- align-items: center;
- justify-content: center;
}
.separator {
height: 32px;
- border-left: 1px solid var(--border);
margin-left: 4px;
+ border-left: 1px solid var(--border);
}
.action-btn {
- cursor: pointer;
margin-right: 10px;
+ cursor: pointer;
&:hover {
opacity: 0.7;
diff --git a/frontend/app/pages/dashboard/settings/index.vue b/frontend/app/pages/dashboard/settings/index.vue
index a273c463..2788d8e3 100644
--- a/frontend/app/pages/dashboard/settings/index.vue
+++ b/frontend/app/pages/dashboard/settings/index.vue
@@ -7,7 +7,8 @@
<nav :class="{ open: menuOpen }">
<span v-if="isModal">{{ t('settings.meta.accountSettings') }}</span>
<div v-if="isModal && store.user" class="user">
- <img :src="avatarURL(store.user)" alt="Avatar" style="width: 25px; height: 25px; border-radius: 50%" />
+ <img :src="avatarURL(store.user)" alt="Avatar" style="width: 25px; height: 25px;
+ border-radius: 50%" />
<div>
<div class="username">{{ store.user.username }}</div>
<div class="email">{{ store.user.email }}</div>
@@ -178,10 +179,10 @@ watchEffect(() => {
background-color: var(--surface-base);
nav {
+ gap: 1rem;
width: 300px;
padding: 1rem;
border-right: 1px solid var(--border);
- gap: 1rem;
overflow-y: auto;
span {
@@ -191,14 +192,14 @@ watchEffect(() => {
}
a {
- display: flex;
position: relative;
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
margin: 0.37rem 0.2rem;
padding: 0.05rem 0.4rem;
border-radius: var(--radius-sm);
color: inherit;
- align-items: center;
- gap: 0.5rem;
text-decoration: none;
&:hover,
@@ -212,8 +213,8 @@ watchEffect(() => {
align-items: center;
div {
- font-size: 0.8rem;
margin-left: 5px;
+ font-size: 0.8rem;
.email {
font-size: 0.7rem;
@@ -226,9 +227,9 @@ watchEffect(() => {
.content {
position: relative;
+ flex: 1;
margin: 0 0.5rem;
padding: 0 2rem;
- flex: 1;
overflow-y: auto;
}
@@ -258,15 +259,15 @@ watchEffect(() => {
.menu-toggle {
display: flex;
+ align-items: center;
+ gap: 0.5rem;
padding: 0.75rem 1rem;
border: none;
+ border-bottom: 1px solid var(--border);
font-size: 0.9rem;
color: inherit;
background-color: var(--surface-raised);
- align-items: center;
- border-bottom: 1px solid var(--border);
cursor: pointer;
- gap: 0.5rem;
}
nav {
@@ -277,19 +278,19 @@ watchEffect(() => {
width: 100%;
max-height: 0;
padding: 0;
+ border-right: none;
background-color: var(--surface-base);
transition:
max-height $transition-base ease,
padding $transition-base ease;
- border-right: none;
overflow: hidden;
&.open {
max-height: 70vh;
padding: 1rem;
+ border-bottom: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
- border-bottom: 1px solid var(--border);
overflow-y: auto;
}
}
diff --git a/frontend/app/pages/dashboard/share-target.vue b/frontend/app/pages/dashboard/share-target.vue
index bdbcc5ee..7ab40264 100644
--- a/frontend/app/pages/dashboard/share-target.vue
+++ b/frontend/app/pages/dashboard/share-target.vue
@@ -264,14 +264,14 @@ section {
.action-card {
display: flex;
+ align-items: center;
+ gap: 1rem;
padding: 1rem;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--bg-secondary);
- transition: all 0.15s ease;
- align-items: center;
cursor: pointer;
- gap: 1rem;
+ transition: all 0.15s ease;
&:hover {
border-color: var(--primary);
@@ -280,20 +280,20 @@ section {
.action-icon {
display: flex;
+ flex-shrink: 0;
+ justify-content: center;
+ align-items: center;
width: 40px;
height: 40px;
border-radius: var(--radius-sm);
color: white;
background: var(--primary);
- align-items: center;
- flex-shrink: 0;
- justify-content: center;
}
.action-info {
h3 {
- font-size: 0.95rem;
margin-bottom: 0.15rem;
+ font-size: 0.95rem;
}
p {
diff --git a/frontend/app/pages/dashboard/teams/[id]/index.vue b/frontend/app/pages/dashboard/teams/[id]/index.vue
index 295591af..4f60ee03 100644
--- a/frontend/app/pages/dashboard/teams/[id]/index.vue
+++ b/frontend/app/pages/dashboard/teams/[id]/index.vue
@@ -112,13 +112,17 @@ onUnmounted(() => {
<style scoped lang="scss">
.team-page {
display: flex;
- margin: 1rem;
flex-direction: column;
gap: 1.25rem;
+ margin: 1rem;
}
.team-hero {
display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ align-items: flex-start;
+ gap: 1.5rem;
padding: 1.5rem;
border: 1px solid var(--border);
border-radius: var(--radius-xl);
@@ -126,25 +130,21 @@ onUnmounted(() => {
radial-gradient(circle at top right, color-mix(in srgb, var(--primary) 20%, transparent), transparent 28%),
linear-gradient(135deg, var(--surface-base), var(--surface-raised));
box-shadow: var(--shadow-sm);
- align-items: flex-start;
- flex-wrap: wrap;
- gap: 1.5rem;
- justify-content: space-between;
}
.team-ident {
display: flex;
- align-items: flex-start;
flex: 1;
+ align-items: flex-start;
gap: 1rem;
}
.team-avatar {
display: grid;
+ flex: none;
width: 96px;
height: 96px;
border-radius: 28px;
- flex: none;
overflow: hidden;
place-items: center;
}
@@ -159,8 +159,8 @@ onUnmounted(() => {
margin: 0 0 0.25rem;
font-size: 0.78rem;
color: var(--text-secondary);
- letter-spacing: 0.18em;
text-transform: uppercase;
+ letter-spacing: 0.18em;
}
h1 {
@@ -192,19 +192,19 @@ h1 {
.team-actions {
display: flex;
flex-wrap: wrap;
- gap: 0.75rem;
justify-content: flex-end;
+ gap: 0.75rem;
}
.content {
position: relative;
display: flex;
+ flex-direction: column;
+ gap: 1.5rem;
width: 100%;
padding: 1.5rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
- flex-direction: column;
- gap: 1.5rem;
}
@media screen and (width <= 700px) {
diff --git a/frontend/app/pages/dashboard/teams/[id]/manage-members.vue b/frontend/app/pages/dashboard/teams/[id]/manage-members.vue
index 9f069ee8..86072dbc 100644
--- a/frontend/app/pages/dashboard/teams/[id]/manage-members.vue
+++ b/frontend/app/pages/dashboard/teams/[id]/manage-members.vue
@@ -243,31 +243,31 @@ const copyInvitationLink = async (code: string) => {
<style scoped lang="scss">
h2 {
margin: 20px 5px;
- font-size: 20px;
padding-bottom: 8px;
+ font-size: 20px;
}
form {
display: flex;
- margin: 15px 0;
- padding: 0 4px;
flex-direction: column;
gap: 10px;
+ margin: 15px 0;
+ padding: 0 4px;
}
.user-card {
display: flex;
+ flex-direction: column;
+ gap: 8px;
padding: 6px 10px;
border-radius: var(--radius-md);
background-color: var(--surface-transparent);
- flex-direction: column;
- gap: 8px;
}
.user-info-row {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
}
.user-meta {
@@ -290,16 +290,16 @@ form {
.info-secondary {
margin: 0;
+ margin-top: 10px;
font-size: 14px;
color: var(--text-secondary);
text-align: center;
- margin-top: 10px;
}
.public-info {
+ margin-bottom: 10px;
padding: 0 5px;
border-radius: var(--radius-md);
- margin-bottom: 10px;
.info-text {
margin: 5px 0;
@@ -309,9 +309,9 @@ form {
.public-link {
display: flex;
- color: var(--primary);
align-items: flex-end;
gap: 2px;
+ color: var(--primary);
text-decoration: underline;
word-break: break-all;
}
@@ -319,8 +319,8 @@ form {
.access {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
margin-top: 10px;
}
@@ -351,9 +351,9 @@ form {
.invite-meta {
display: flex;
- min-width: 0;
flex-direction: column;
gap: 2px;
+ min-width: 0;
}
.invite-code {
diff --git a/frontend/app/pages/dashboard/teams/[id]/settings.vue b/frontend/app/pages/dashboard/teams/[id]/settings.vue
index b988fd60..d049d192 100644
--- a/frontend/app/pages/dashboard/teams/[id]/settings.vue
+++ b/frontend/app/pages/dashboard/teams/[id]/settings.vue
@@ -102,7 +102,7 @@ label {
}
.form-column {
- min-width: 200px;
flex: 1;
+ min-width: 200px;
}
</style>
diff --git a/frontend/app/pages/dashboard/teams/index.vue b/frontend/app/pages/dashboard/teams/index.vue
index 4322dc6f..0f0a526e 100644
--- a/frontend/app/pages/dashboard/teams/index.vue
+++ b/frontend/app/pages/dashboard/teams/index.vue
@@ -62,24 +62,24 @@ const openCreateTeam = () => modals.add(new Modal(shallowRef(CreateCategoryModal
.hero {
display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ align-items: flex-start;
+ gap: 1rem;
padding: 1.5rem;
border: 1px solid var(--border);
border-radius: var(--radius-xl);
background:
radial-gradient(circle at top right, color-mix(in srgb, var(--primary) 18%, transparent), transparent 28%),
linear-gradient(135deg, var(--surface-base), var(--surface-raised));
- align-items: flex-start;
- flex-wrap: wrap;
- gap: 1rem;
- justify-content: space-between;
}
.eyebrow {
margin: 0 0 0.25rem;
font-size: 0.78rem;
color: var(--text-secondary);
- letter-spacing: 0.18em;
text-transform: uppercase;
+ letter-spacing: 0.18em;
}
h1 {
@@ -96,21 +96,21 @@ h1 {
.hero-actions,
.toolbar {
display: flex;
- align-items: center;
flex-wrap: wrap;
- gap: 0.75rem;
justify-content: space-between;
+ align-items: center;
+ gap: 0.75rem;
}
.search-box {
display: flex;
+ align-items: center;
+ gap: 0.75rem;
min-width: min(520px, 100%);
padding: 0.8rem 1rem;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface-base);
- align-items: center;
- gap: 0.75rem;
input {
width: 100%;
@@ -131,8 +131,8 @@ h1 {
.team-grid {
display: grid;
- gap: 1rem;
grid-template-columns: repeat(2, 1fr);
+ gap: 1rem;
:last-child:nth-child(odd) {
grid-column: 1 / -1;
diff --git a/frontend/app/pages/reference/documentation.vue b/frontend/app/pages/reference/documentation.vue
index 4d8f806f..977da945 100644
--- a/frontend/app/pages/reference/documentation.vue
+++ b/frontend/app/pages/reference/documentation.vue
@@ -335,11 +335,11 @@ definePageMeta({
<style lang="scss" scoped>
.body-container {
display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
width: 100%;
max-width: 1000px;
margin: 2rem auto;
- align-items: center;
- flex-direction: column;
- justify-content: center;
}
</style>
diff --git a/frontend/app/splash-screen.html b/frontend/app/splash-screen.html
index 519ae06e..12ab105e 100644
--- a/frontend/app/splash-screen.html
+++ b/frontend/app/splash-screen.html
@@ -113,11 +113,6 @@
letter-spacing: 0.02em;
}
- #splash-screen.fade-out {
- opacity: 0;
- visibility: hidden;
- }
-
/* Animations */
@keyframes appear {
diff --git a/frontend/app/styles/_transitions.scss b/frontend/app/styles/_transitions.scss
index 6f677ef8..a38bd538 100644
--- a/frontend/app/styles/_transitions.scss
+++ b/frontend/app/styles/_transitions.scss
@@ -20,6 +20,7 @@
opacity: 0;
transform: translateY(8px) scale(0.98);
}
+
100% {
opacity: 1;
transform: translateY(0) scale(1);
diff --git a/frontend/app/styles/base/forms.scss b/frontend/app/styles/base/forms.scss
index c7512259..407c11e8 100644
--- a/frontend/app/styles/base/forms.scss
+++ b/frontend/app/styles/base/forms.scss
@@ -76,6 +76,6 @@ button {
fieldset {
margin: auto;
- padding: 10px;
margin-top: 3% !important;
+ padding: 10px;
}
\ No newline at end of file
diff --git a/frontend/app/styles/base/tables.scss b/frontend/app/styles/base/tables.scss
index 4a67790e..9c47fc92 100644
--- a/frontend/app/styles/base/tables.scss
+++ b/frontend/app/styles/base/tables.scss
@@ -11,21 +11,21 @@ table {
/* Header */
thead th {
padding: 0.9rem 1rem;
+ border-bottom: 1px solid var(--border);
font-size: 0.8rem;
font-weight: 500;
color: var(--text-secondary);
text-align: left;
- background-color: var(--border-subtle);
- border-bottom: 1px solid var(--border);
- letter-spacing: 0.03em;
text-transform: uppercase;
+ letter-spacing: 0.03em;
+ background-color: var(--border-subtle);
}
/* Cells */
tbody td {
padding: 0.5rem 1rem;
- color: var(--text-primary);
border-bottom: 1px solid var(--border);
+ color: var(--text-primary);
}
/* Last row without separation */
diff --git a/frontend/app/styles/base/typography.scss b/frontend/app/styles/base/typography.scss
index f9363a23..8e5cb14a 100644
--- a/frontend/app/styles/base/typography.scss
+++ b/frontend/app/styles/base/typography.scss
@@ -14,8 +14,8 @@ pre {
width: 100%;
margin: 12px 0;
border-radius: var(--radius-md);
- background: #292d3e;
word-break: break-all;
+ background: #292d3e;
}
/* Inline code */
@@ -29,9 +29,9 @@ code {
h1,
h2 {
+ padding-bottom: 10px;
font-weight: 600;
line-height: 1.2;
- padding-bottom: 10px;
}
h3,
@@ -49,8 +49,8 @@ h1 {
h2 {
margin: 25px 0 15px;
- font-size: 1.5em;
border-bottom: 1px solid var(--border);
+ font-size: 1.5em;
}
h3 {
@@ -80,8 +80,8 @@ hr {
blockquote {
padding: 0 15px;
- border-radius: var(--radius-xs);
border-left: 4px solid var(--primary);
+ border-radius: var(--radius-xs);
> :first-child {
margin-top: 0;
diff --git a/frontend/app/styles/components/boxes.scss b/frontend/app/styles/components/boxes.scss
index 23e1e0fb..7e40144c 100644
--- a/frontend/app/styles/components/boxes.scss
+++ b/frontend/app/styles/components/boxes.scss
@@ -1,16 +1,16 @@
.warning-box {
display: flex;
+ gap: 1rem;
+ margin-bottom: 1.5rem;
padding: 1rem 1.25rem;
border: 1px solid var(--orange-border);
border-radius: var(--radius-lg);
background: var(--orange-bg);
- gap: 1rem;
- margin-bottom: 1.5rem;
strong {
display: block;
- color: var(--orange-dark);
margin-bottom: 0.25rem;
+ color: var(--orange-dark);
}
p {
diff --git a/frontend/app/styles/components/common.scss b/frontend/app/styles/components/common.scss
index 86851362..6c75e418 100644
--- a/frontend/app/styles/components/common.scss
+++ b/frontend/app/styles/components/common.scss
@@ -7,12 +7,12 @@
.footer {
display: flex;
+ justify-content: flex-end;
+ align-items: center;
+ gap: 8px;
margin: 6px 0;
padding: 6px 0 0;
- align-items: center;
border-top: 1px solid var(--border);
- gap: 8px;
- justify-content: flex-end;
}
}
@@ -23,16 +23,16 @@
.header-title {
display: flex;
- font-size: 18px;
- font-weight: 600;
align-items: center;
gap: 12px;
+ font-size: 18px;
+ font-weight: 600;
}
.parent-icon {
+ margin-right: 10px;
padding: 6px;
border-radius: var(--radius-sm);
- margin-right: 10px;
}
// Mark
diff --git a/frontend/app/styles/components/page-components.scss b/frontend/app/styles/components/page-components.scss
index 6eb48fb3..eabcfd54 100644
--- a/frontend/app/styles/components/page-components.scss
+++ b/frontend/app/styles/components/page-components.scss
@@ -1,19 +1,19 @@
.page-card {
display: block;
+ gap: 16px;
margin: 8px 4px;
padding: 20px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
- gap: 16px;
header {
display: flex;
- align-items: center;
- border-bottom: 1px solid var(--border);
justify-content: space-between;
+ align-items: center;
margin-bottom: 10px;
padding-bottom: 4px;
+ border-bottom: 1px solid var(--border);
h1 {
margin: 10px 0;
@@ -32,10 +32,10 @@
.page-title {
display: flex;
- font-size: 1.7rem;
- font-weight: bold;
align-items: center;
gap: 0.5rem;
+ font-size: 1.7rem;
+ font-weight: bold;
}
.page-subtitle {
diff --git a/frontend/app/styles/components/tooltip.scss b/frontend/app/styles/components/tooltip.scss
index 58ccd091..47b22f0b 100644
--- a/frontend/app/styles/components/tooltip.scss
+++ b/frontend/app/styles/components/tooltip.scss
@@ -11,27 +11,27 @@
top: 100%;
left: 50%;
z-index: 100;
+ margin-top: 0.2rem;
padding: 0.4rem;
border-radius: var(--radius-sm);
font-size: 0.7rem;
color: white;
+ text-transform: capitalize;
+ white-space: nowrap;
background-color: var(--surface-tooltip);
box-shadow: var(--shadow-sm);
// Initial state (hidden)
opacity: 0;
+ visibility: hidden;
/* Transition */
transition:
opacity $transition-fast ease,
visibility 0s linear $transition-wait; // Delay hiding to match opacity transition
- margin-top: 0.2rem;
- pointer-events: none;
- text-transform: capitalize;
transform: translateX(-50%);
- visibility: hidden;
- white-space: nowrap;
+ pointer-events: none;
/* &::after {
content: '';
diff --git a/frontend/app/styles/features/document-theme.scss b/frontend/app/styles/features/document-theme.scss
index cc01b36b..9316eee7 100644
--- a/frontend/app/styles/features/document-theme.scss
+++ b/frontend/app/styles/features/document-theme.scss
@@ -47,20 +47,20 @@
.markdown-container {
display: flex;
+ gap: 1rem;
margin: 0.5em 0;
padding: 0;
border: none;
color: var(--text-body);
background-color: transparent;
- gap: 1rem;
.title {
min-width: 150px;
max-width: 170px;
padding: 5px 12px;
+ border-right: 1px solid var(--text-body);
font-size: 15px;
color: var(--text-primary);
- border-right: 1px solid var(--text-body);
svg {
display: none;
@@ -74,28 +74,28 @@
.custom-block {
display: flex;
+ flex-wrap: wrap;
margin: 2em 0;
padding: 0;
border: none;
font-size: 16px;
color: var(--text-body);
background-color: transparent;
- flex-wrap: wrap;
.custom-block-title {
min-width: 150px;
max-width: 170px;
padding: 5px 12px;
+ border-right: 1px solid var(--text-body);
font-weight: bold;
color: var(--text-primary);
- border-right: 1px solid var(--text-body);
}
.custom-block-content {
- padding: 0 0.5em;
flex: 1;
+ padding: 0 0.5em;
p {
padding: 0 0.5em;
@@ -144,19 +144,19 @@
.markdown-container {
display: flex;
+ gap: 1rem;
margin: 0.5em 0;
padding: 0;
border-radius: var(--radius-xs);
color: var(--text-body);
background-color: transparent;
- gap: 1rem;
.title {
min-width: 150px;
max-width: 170px;
padding: 5px 12px;
- font-size: 15px;
border-right: 1px solid var(--text-body);
+ font-size: 15px;
svg {
display: none;
@@ -170,83 +170,83 @@
.custom-block {
display: flex;
+ flex-wrap: wrap;
margin: 2em 0;
padding: 4px;
border: none;
border-radius: var(--radius-xs);
font-size: 16px;
color: var(--text-body);
- flex-wrap: wrap;
.grey {
+ border-left: 4px solid var(--grey);
color: var(--grey);
background-color: var(--grey-bg-light);
- border-left: 4px solid var(--grey);
}
&.blue {
+ border-left: 4px solid var(--blue);
color: var(--blue);
background-color: var(--blue-bg-light);
- border-left: 4px solid var(--blue);
}
&.green {
+ border-left: 4px solid var(--green);
color: var(--green);
background-color: var(--green-bg-light);
- border-left: 4px solid var(--green);
}
&.teal {
+ border-left: 4px solid var(--teal);
color: var(--teal);
background-color: var(--teal-bg-light);
- border-left: 4px solid var(--teal);
}
&.yellow {
+ border-left: 4px solid var(--yellow);
color: var(--yellow);
background-color: var(--yellow-bg-light);
- border-left: 4px solid var(--yellow);
}
&.orange {
+ border-left: 4px solid var(--orange);
color: var(--orange);
background-color: var(--orange-bg-light);
- border-left: 4px solid var(--orange);
}
&.red {
+ border-left: 4px solid var(--red);
color: var(--red);
background-color: var(--red-bg-light);
- border-left: 4px solid var(--red);
}
&.purple {
+ border-left: 4px solid var(--purple);
color: var(--purple);
background-color: var(--purple-bg-light);
- border-left: 4px solid var(--purple);
}
&.custom-block.details {
+ border-left: 4px solid var(--blue);
color: var(--blue);
background-color: var(--blue-bg-light);
- border-left: 4px solid var(--blue);
}
.custom-block-title {
min-width: 150px;
max-width: 170px;
padding: 5px 12px;
- font-weight: bold;
border-right: 1px solid var(--border);
+ font-weight: bold;
}
.custom-block-content {
- padding: 0 0.5em;
flex: 1;
+ padding: 0 0.5em;
p {
padding: 0 0.5em;
@@ -281,13 +281,13 @@
}
h2 {
- font-size: 1.5rem;
margin-top: 2rem;
+ font-size: 1.5rem;
}
h3 {
- font-size: 1.25rem;
margin-top: 1rem;
+ font-size: 1.25rem;
}
p {
@@ -297,8 +297,8 @@
a {
color: var(--primary);
- transition: color $transition-fast ease, opacity $transition-fast ease;
text-decoration: none;
+ transition: color $transition-fast ease, opacity $transition-fast ease;
&:hover {
text-decoration: underline;
@@ -318,10 +318,10 @@
blockquote {
margin: 1.5rem 0;
+ padding-left: 1rem;
+ border-left: 4px solid var(--blue);
color: var(--text-body);
background-color: var(--surface-raised);
- border-left: 4px solid var(--blue);
- padding-left: 1rem;
}
ul,
@@ -375,46 +375,46 @@
&.info,
&.blue {
- background-color: var(--blue-bg-light);
border-left: 4px solid var(--blue);
+ background-color: var(--blue-bg-light);
}
&.success,
&.green {
- background-color: var(--green-bg-light);
border-left: 4px solid var(--green);
+ background-color: var(--green-bg-light);
}
&.warning,
&.yellow {
- background-color: var(--yellow-bg-light);
border-left: 4px solid var(--yellow);
+ background-color: var(--yellow-bg-light);
}
&.danger,
&.red {
- background-color: var(--red-bg-light);
border-left: 4px solid var(--red);
+ background-color: var(--red-bg-light);
}
&.teal {
- background-color: var(--teal-bg-light);
border-left: 4px solid var(--teal);
+ background-color: var(--teal-bg-light);
}
&.purple {
- background-color: var(--purple-bg-light);
border-left: 4px solid var(--purple);
+ background-color: var(--purple-bg-light);
}
&.grey {
- background-color: var(--grey-bg);
border-left: 4px solid var(--grey);
+ background-color: var(--grey-bg);
}
.custom-block-title {
- font-weight: 600;
margin-bottom: 0.5rem;
+ font-weight: 600;
}
.custom-block-content {
diff --git a/frontend/app/styles/features/markdown.scss b/frontend/app/styles/features/markdown.scss
index 34bf07b2..42a848af 100644
--- a/frontend/app/styles/features/markdown.scss
+++ b/frontend/app/styles/features/markdown.scss
@@ -1,10 +1,10 @@
@use "../abstract/static.scss" as *;
.markdown-container {
+ margin-top: 10px;
padding: 10px;
border-radius: var(--radius-xs);
background-color: var(--surface-raised);
- margin-top: 10px;
&:has(.blue) {
padding: 10px;
@@ -24,21 +24,21 @@
}
&:has(.teal) {
- background-color: var(--surface-raised);
border-left: 4px solid var(--teal);
+ background-color: var(--surface-raised);
}
.svg-icon {
display: inline-block;
box-sizing: border-box;
+ margin-right: 8px;
font-size: 16px;
color: var(--blue);
+ vertical-align: text-bottom;
color-scheme: dark;
fill: var(--blue);
- margin-right: 8px;
overflow: visible;
- overflow-wrap: break-word;
- vertical-align: text-bottom
+ overflow-wrap: break-word
}
.title {
@@ -87,14 +87,14 @@
}
.custom-block {
+ margin-top: 10px;
+ margin-bottom: 5px;
padding: 10px 10px 8px;
border: 1px solid transparent;
border-radius: var(--radius-md);
font-size: 14px;
line-height: 24px;
color: rgb(235 235 235 / 100%);
- margin-bottom: 5px;
- margin-top: 10px;
p {
margin: 0;
@@ -122,9 +122,9 @@
.checkbox-container {
display: flex;
- padding: 0;
- align-items: center;
justify-content: flex-start;
+ align-items: center;
+ padding: 0;
}
.checkbox-container input[type="checkbox"] {
@@ -161,8 +161,8 @@
}
.columns .column {
- margin: 0 10px;
flex: 1;
+ margin: 0 10px;
}
// *************** CODE BLOCKS **************** //
@@ -176,13 +176,13 @@
top: 22px;
right: 14px;
display: flex;
+ justify-content: center;
+ align-items: center;
padding: 4px;
opacity: 0;
- transition: opacity $transition-fast ease, background-color $transition-fast ease, border-color $transition-fast ease;
- align-items: center;
cursor: pointer;
+ transition: opacity $transition-fast ease, background-color $transition-fast ease, border-color $transition-fast ease;
fill: #e3e4e6;
- justify-content: center;
}
.code-block-wrapper:hover .code-copy-btn {
@@ -200,10 +200,10 @@
// *************** CARDS BLOCKS **************** //
.block {
display: flex;
+ flex-direction: column;
margin: 0.5rem 0;
padding: 0.5rem;
border: 1px solid var(--border);
- flex-direction: column;
}
@@ -223,9 +223,9 @@
.block-title {
margin: 0 -0.5rem;
padding: .5rem 1rem;
+ border-bottom: 1px solid var(--border);
font-weight: 600;
background: var(--surface-raised);
- border-bottom: 1px solid var(--border);
}
}
@@ -264,8 +264,8 @@
border-radius: var(--radius-sm);
font-weight: 500;
color: var(--primary);
- background: var(--accent-bg);
text-decoration: none;
+ background: var(--accent-bg);
&:hover {
text-decoration: underline;
diff --git a/frontend/app/styles/themes/colors.scss b/frontend/app/styles/themes/colors.scss
index 5d7433f6..30a236f1 100644
--- a/frontend/app/styles/themes/colors.scss
+++ b/frontend/app/styles/themes/colors.scss
@@ -89,6 +89,10 @@
}
}
+.border-yellow {
+ border-color: var(--yellow) !important;
+}
+
.orange,
[orange] {
border-color: var(--orange-border);
@@ -104,8 +108,8 @@
}
}
-.border-yellow {
- border-color: var(--yellow) !important;
+.border-orange {
+ border-color: var(--orange) !important;
}
.red,
@@ -142,8 +146,8 @@
}
}
-.border-pink {
- border-color: var(--pink) !important;
+.border-purple {
+ border-color: var(--purple) !important;
}
.pink,
diff --git a/frontend/app/styles/utilities/layout.scss b/frontend/app/styles/utilities/layout.scss
index e95f7eb9..566a7235 100644
--- a/frontend/app/styles/utilities/layout.scss
+++ b/frontend/app/styles/utilities/layout.scss
@@ -1,17 +1,17 @@
.actions-row {
display: flex;
- align-items: center;
flex-wrap: wrap;
+ align-items: center;
gap: 0.5rem;
}
.center {
display: flex;
- width: 100%;
- text-align: center;
- align-items: center;
flex-direction: column;
justify-content: center;
+ align-items: center;
+ width: 100%;
+ text-align: center;
}
.flex {
diff --git a/frontend/app/styles/vendors/code-hljs.scss b/frontend/app/styles/vendors/code-hljs.scss
index 37396f48..65dc8f82 100644
--- a/frontend/app/styles/vendors/code-hljs.scss
+++ b/frontend/app/styles/vendors/code-hljs.scss
@@ -19,8 +19,8 @@ pre code.hljs {
/* Comments / punctuation */
.hljs-comment,
.hljs-quote {
- color: #676e95;
font-style: italic;
+ color: #676e95;
}
.hljs-tag,
diff --git a/frontend/app/styles/vendors/font.scss b/frontend/app/styles/vendors/font.scss
index 0266263b..b34fd589 100644
--- a/frontend/app/styles/vendors/font.scss
+++ b/frontend/app/styles/vendors/font.scss
@@ -6,8 +6,8 @@
@font-face {
font-family: Poppins;
font-weight: 300;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/Poppins/poppins-v24-latin-300.woff2') format('woff2');
}
@@ -15,8 +15,8 @@
@font-face {
font-family: Poppins;
font-weight: 400;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/Poppins/poppins-v24-latin-regular.woff2') format('woff2');
}
@@ -24,8 +24,8 @@
@font-face {
font-family: Poppins;
font-weight: 400;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/Poppins/poppins-v24-latin-italic.woff2') format('woff2');
}
@@ -33,8 +33,8 @@
@font-face {
font-family: Poppins;
font-weight: 500;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/Poppins/poppins-v24-latin-500.woff2') format('woff2');
}
@@ -42,8 +42,8 @@
@font-face {
font-family: Poppins;
font-weight: 500;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/Poppins/poppins-v24-latin-500italic.woff2') format('woff2');
}
@@ -51,8 +51,8 @@
@font-face {
font-family: Poppins;
font-weight: 600;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/Poppins/poppins-v24-latin-600.woff2') format('woff2');
}
@@ -60,8 +60,8 @@
@font-face {
font-family: Poppins;
font-weight: 600;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/Poppins/poppins-v24-latin-600italic.woff2') format('woff2');
}
@@ -69,8 +69,8 @@
@font-face {
font-family: Poppins;
font-weight: 700;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/Poppins/poppins-v24-latin-700.woff2') format('woff2');
}
@@ -78,8 +78,8 @@
@font-face {
font-family: Poppins;
font-weight: 700;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/Poppins/poppins-v24-latin-700italic.woff2') format('woff2');
}
@@ -90,8 +90,8 @@
@font-face {
font-family: 'LMRoman10';
font-weight: normal;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/LMRoman/LMRoman10-Regular.eot');
src: local('LMRoman10-Regular'),
url('~/assets/fonts/LMRoman/LMRoman10-Regular.eot?#iefix') format('embedded-opentype'),
@@ -103,8 +103,8 @@
@font-face {
font-family: 'LMRoman10';
font-weight: normal;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/LMRoman/LMRoman10-Italic.eot');
src: local('LMRoman10-Italic'),
url('~/assets/fonts/LMRoman/LMRoman10-Italic.eot?#iefix') format('embedded-opentype'),
@@ -116,8 +116,8 @@
@font-face {
font-family: 'LMRoman10';
font-weight: bold;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/LMRoman/LMRoman10-BoldItalic.eot');
src: local('LMRoman10-BoldItalic'),
url('~/assets/fonts/LMRoman/LMRoman10-BoldItalic.eot?#iefix') format('embedded-opentype'),
@@ -129,8 +129,8 @@
@font-face {
font-family: 'LMRoman10';
font-weight: bold;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/LMRoman/LMRoman10-Bold.eot');
src: local('LMRoman10-Bold'),
url('~/assets/fonts/LMRoman/LMRoman10-Bold.eot?#iefix') format('embedded-opentype'),
@@ -147,8 +147,8 @@
@font-face {
font-family: 'JetBrains Mono';
font-weight: 400;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/JetBrainsMono/jetbrains-mono-v24-latin-regular.woff2') format('woff2');
}
@@ -156,8 +156,8 @@
@font-face {
font-family: 'JetBrains Mono';
font-weight: 400;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/JetBrainsMono/jetbrains-mono-v24-latin-italic.woff2') format('woff2');
}
@@ -165,8 +165,8 @@
@font-face {
font-family: 'JetBrains Mono';
font-weight: 500;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/JetBrainsMono/jetbrains-mono-v24-latin-500.woff2') format('woff2');
}
@@ -174,8 +174,8 @@
@font-face {
font-family: 'JetBrains Mono';
font-weight: 500;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/JetBrainsMono/jetbrains-mono-v24-latin-500italic.woff2') format('woff2');
}
@@ -183,8 +183,8 @@
@font-face {
font-family: 'JetBrains Mono';
font-weight: 600;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/JetBrainsMono/jetbrains-mono-v24-latin-600.woff2') format('woff2');
}
@@ -192,8 +192,8 @@
@font-face {
font-family: 'JetBrains Mono';
font-weight: 600;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/JetBrainsMono/jetbrains-mono-v24-latin-600italic.woff2') format('woff2');
}
@@ -205,8 +205,8 @@
@font-face {
font-family: Inter;
font-weight: 400;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/Inter/inter-v20-latin-regular.woff2') format('woff2');
}
@@ -214,8 +214,8 @@
@font-face {
font-family: Inter;
font-weight: 400;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/Inter/inter-v20-latin-italic.woff2') format('woff2');
}
@@ -223,8 +223,8 @@
@font-face {
font-family: Inter;
font-weight: 500;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/Inter/inter-v20-latin-500.woff2') format('woff2');
}
@@ -232,8 +232,8 @@
@font-face {
font-family: Inter;
font-weight: 500;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/Inter/inter-v20-latin-500italic.woff2') format('woff2');
}
@@ -241,8 +241,8 @@
@font-face {
font-family: Inter;
font-weight: 600;
- font-display: swap;
font-style: normal;
+ font-display: swap;
src: url('~/assets/fonts/Inter/inter-v20-latin-600.woff2') format('woff2');
}
@@ -250,7 +250,7 @@
@font-face {
font-family: Inter;
font-weight: 600;
- font-display: swap;
font-style: italic;
+ font-display: swap;
src: url('~/assets/fonts/Inter/inter-v20-latin-600italic.woff2') format('woff2');
}
\ No newline at end of file
diff --git a/frontend/app/styles/vendors/mermaid.scss b/frontend/app/styles/vendors/mermaid.scss
index a8949e65..a009e17f 100644
--- a/frontend/app/styles/vendors/mermaid.scss
+++ b/frontend/app/styles/vendors/mermaid.scss
@@ -14,6 +14,6 @@ pre.mermaid.mermaid-error {
border: 1px solid var(--red-border);
color: var(--red);
text-align: left;
- background: var(--red-bg);
white-space: pre-wrap;
+ background: var(--red-bg);
}
diff --git a/frontend/stylelint.config.js b/frontend/stylelint.config.js
index 047563de..b49be256 100644
--- a/frontend/stylelint.config.js
+++ b/frontend/stylelint.config.js
@@ -7,57 +7,202 @@ export default {
],
ignoreFiles: ['**/*.js', '**/*.ts', '**/*.json', '**/*.md', 'node_modules/**/*', 'dist/**/*'],
rules: {
- // Box Model
'order/properties-order': [
[
- // Positioning
- 'position',
- 'top',
- 'right',
- 'bottom',
- 'left',
- 'z-index',
-
- // Box Model
- 'display',
- 'float',
- 'width',
- 'min-width',
- 'max-width',
- 'height',
- 'min-height',
- 'max-height',
- 'box-sizing',
- 'margin',
- 'padding',
- 'border',
- 'border-width',
- 'border-style',
- 'border-color',
- 'border-radius',
-
- // Typography
- 'font',
- 'font-family',
- 'font-size',
- 'font-weight',
- 'line-height',
- 'color',
- 'text-align',
-
- // Background & effects
- 'background',
- 'background-color',
- 'background-image',
- 'background-size',
- 'background-position',
- 'box-shadow',
- 'opacity',
- 'transition',
+ {
+ groupName: 'positioning',
+ emptyLineBefore: 'always',
+ properties: ['position', 'top', 'right', 'bottom', 'left', 'z-index'],
+ },
+ {
+ groupName: 'display-and-layout',
+ emptyLineBefore: 'always',
+ properties: [
+ 'display',
+ 'flex',
+ 'flex-grow',
+ 'flex-shrink',
+ 'flex-basis',
+ 'flex-flow',
+ 'flex-direction',
+ 'flex-wrap',
+ 'justify-content',
+ 'align-items',
+ 'align-content',
+ 'align-self',
+ 'order',
+ 'grid',
+ 'grid-template-rows',
+ 'grid-template-columns',
+ 'grid-template-areas',
+ 'grid-auto-rows',
+ 'grid-auto-columns',
+ 'grid-auto-flow',
+ 'grid-column',
+ 'grid-row',
+ 'grid-area',
+ 'gap',
+ 'row-gap',
+ 'column-gap',
+ 'float',
+ 'clear',
+ ],
+ },
+ {
+ groupName: 'box-model',
+ emptyLineBefore: 'always',
+ properties: [
+ 'box-sizing',
+ 'width',
+ 'min-width',
+ 'max-width',
+ 'height',
+ 'min-height',
+ 'max-height',
+ 'margin',
+ 'margin-top',
+ 'margin-right',
+ 'margin-bottom',
+ 'margin-left',
+ 'padding',
+ 'padding-top',
+ 'padding-right',
+ 'padding-bottom',
+ 'padding-left',
+ ],
+ },
+ {
+ groupName: 'borders',
+ emptyLineBefore: 'always',
+ properties: [
+ 'border',
+ 'border-width',
+ 'border-style',
+ 'border-color',
+ 'border-top',
+ 'border-top-width',
+ 'border-top-style',
+ 'border-top-color',
+ 'border-right',
+ 'border-right-width',
+ 'border-right-style',
+ 'border-right-color',
+ 'border-bottom',
+ 'border-bottom-width',
+ 'border-bottom-style',
+ 'border-bottom-color',
+ 'border-left',
+ 'border-left-width',
+ 'border-left-style',
+ 'border-left-color',
+ 'border-radius',
+ 'border-top-left-radius',
+ 'border-top-right-radius',
+ 'border-bottom-right-radius',
+ 'border-bottom-left-radius',
+ ],
+ },
+ {
+ groupName: 'typography',
+ emptyLineBefore: 'always',
+ properties: [
+ 'font',
+ 'font-family',
+ 'font-size',
+ 'font-weight',
+ 'font-style',
+ 'font-variant',
+ 'font-size-adjust',
+ 'font-stretch',
+ 'font-effect',
+ 'font-emphasize',
+ 'line-height',
+ 'color',
+ 'text-align',
+ 'text-align-last',
+ 'text-decoration',
+ 'text-emphasis',
+ 'text-indent',
+ 'text-justify',
+ 'text-outline',
+ 'text-overflow',
+ 'text-shadow',
+ 'text-transform',
+ 'letter-spacing',
+ 'word-break',
+ 'word-spacing',
+ 'word-wrap',
+ 'white-space',
+ 'vertical-align',
+ ],
+ },
+ {
+ groupName: 'visuals',
+ emptyLineBefore: 'always',
+ properties: [
+ 'background',
+ 'background-color',
+ 'background-image',
+ 'background-repeat',
+ 'background-attachment',
+ 'background-position',
+ 'background-position-x',
+ 'background-position-y',
+ 'background-clip',
+ 'background-origin',
+ 'background-size',
+ 'box-shadow',
+ 'outline',
+ 'outline-width',
+ 'outline-style',
+ 'outline-color',
+ 'outline-offset',
+ 'opacity',
+ 'visibility',
+ 'cursor',
+ ],
+ },
+ {
+ groupName: 'animations',
+ emptyLineBefore: 'always',
+ properties: [
+ 'transition',
+ 'transition-delay',
+ 'transition-duration',
+ 'transition-property',
+ 'transition-timing-function',
+ 'transform',
+ 'transform-origin',
+ 'animation',
+ 'animation-name',
+ 'animation-duration',
+ 'animation-fill-mode',
+ 'animation-play-state',
+ 'animation-timing-function',
+ 'animation-delay',
+ 'animation-iteration-count',
+ 'animation-direction',
+ ],
+ },
],
- { unspecified: 'bottomAlphabetical' },
+ {
+ unspecified: 'bottomAlphabetical',
+ emptyLineBeforeUnspecified: 'always',
+ },
],
+ 'selector-type-no-unknown': [
+ true,
+ {
+ ignoreTypes: ['tag'], // Custom element
+ },
+ ],
+
+ 'selector-class-pattern': null,
+ 'selector-id-pattern': null,
+ 'keyframes-name-pattern': null,
+ 'custom-property-pattern': null,
+
'block-no-empty': true,
'color-hex-length': 'short',
'declaration-block-no-duplicate-properties': true,