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 stylelint css order

Smaug6739b5eef43c0369
diff --git a/frontend/app/components/AppAccordion.vue b/frontend/app/components/AppAccordion.vue
index c506fb60..2547f7a6 100644
--- a/frontend/app/components/AppAccordion.vue
+++ b/frontend/app/components/AppAccordion.vue
@@ -87,10 +87,10 @@ function onLeave(el: Element) {
<style scoped lang="scss">
.accordion-item {
- background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
+ background: #fff;
+ box-shadow: 0 2px 10px rgb(0 0 0 / 4%);
transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
overflow: hidden;
@@ -105,21 +105,21 @@ function onLeave(el: Element) {
}
.accordion-trigger {
- width: 100%;
display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 0.75rem;
+ width: 100%;
padding: 1.1rem 1.4rem;
- background: transparent;
border: 0;
- cursor: pointer;
text-align: left;
+ background: transparent;
+ align-items: center;
+ cursor: pointer;
+ gap: 0.75rem;
+ justify-content: space-between;
&:focus-visible {
+ border-radius: 10px;
outline: 2px solid var(--primary);
outline-offset: 2px;
- border-radius: 10px;
}
}
@@ -131,15 +131,15 @@ function onLeave(el: Element) {
.chevron {
width: 20px;
height: 20px;
+ transition: transform 0.3s ease, stroke 0.3s ease;
+ fill: none;
stroke: #444;
stroke-width: 2;
- fill: none;
- transition: transform 0.3s ease, stroke 0.3s ease;
}
.open .chevron {
- transform: rotate(180deg);
stroke: var(--primary);
+ transform: rotate(180deg);
}
.accordion-content-wrapper {
@@ -147,9 +147,9 @@ function onLeave(el: Element) {
}
.accordion-content {
- padding: 0 1.4rem 1.1rem 1.4rem;
- color: #555;
+ padding: 0 1.4rem 1.1rem;
line-height: 1.6;
+ color: #555;
background: #fafafa;
border-top: 1px solid #eee;
}
@@ -161,11 +161,11 @@ function onLeave(el: Element) {
.accordion-expand-enter-from,
.accordion-expand-leave-to {
- opacity: 0;
max-height: 0;
+ opacity: 0;
}
-@media (min-width: 768px) {
+@media (width >= 768px) {
.accordion-title {
font-size: 1.1rem;
}
@@ -175,7 +175,7 @@ function onLeave(el: Element) {
}
.accordion-content {
- padding: 0 1.6rem 1.2rem 1.6rem;
+ padding: 0 1.6rem 1.2rem;
}
}
</style>
diff --git a/frontend/app/components/AppDrop.vue b/frontend/app/components/AppDrop.vue
index 3e5ca66e..cb626bd4 100644
--- a/frontend/app/components/AppDrop.vue
+++ b/frontend/app/components/AppDrop.vue
@@ -180,8 +180,8 @@ defineExpose({ reset });
justify-content: center;
&:hover {
- background-color: var(--bg-contrast);
border-color: var(--border-color-hover, var(--border-color));
+ background-color: var(--bg-contrast);
}
&.has-files {
@@ -201,8 +201,8 @@ defineExpose({ reset });
.empty-state {
display: flex;
- flex-direction: column;
align-items: center;
+ flex-direction: column;
gap: 8px;
p {
@@ -236,13 +236,13 @@ defineExpose({ reset });
border: 1px solid var(--border-color);
border-radius: 6px;
background: var(--bg-color-secondary);
+ transition: all 0.15s ease;
align-items: center;
gap: 12px;
- transition: all 0.15s ease;
&:hover {
- background: var(--bg-contrast);
border-color: var(--border-color-hover, var(--border-color));
+ background: var(--bg-contrast);
.remove-btn {
opacity: 1;
@@ -255,8 +255,8 @@ defineExpose({ reset });
width: 36px;
height: 36px;
border-radius: 6px;
- background: var(--bg-ui);
color: var(--primary);
+ background: var(--bg-ui);
align-items: center;
flex-shrink: 0;
justify-content: center;
@@ -294,11 +294,11 @@ defineExpose({ reset });
color: var(--font-color-light);
background: transparent;
opacity: 0.6;
+ transition: all 0.15s ease;
align-items: center;
cursor: pointer;
flex-shrink: 0;
justify-content: center;
- transition: all 0.15s ease;
&:hover {
color: var(--danger, #e74c3c);
@@ -309,10 +309,10 @@ defineExpose({ reset });
.files-footer {
display: flex;
- padding-top: 8px;
- border-top: 1px solid var(--border-color);
align-items: center;
+ border-top: 1px solid var(--border-color);
justify-content: space-between;
+ padding-top: 8px;
}
.total-info {
diff --git a/frontend/app/components/AppSelect.vue b/frontend/app/components/AppSelect.vue
index 941e2204..e3462d76 100644
--- a/frontend/app/components/AppSelect.vue
+++ b/frontend/app/components/AppSelect.vue
@@ -284,22 +284,22 @@ button,
======================== */
.mobile-overlay {
position: fixed;
- inset: 0;
z-index: 1000;
display: flex;
+ background: rgb(0 0 0 / 50%);
align-items: flex-end;
+ inset: 0;
justify-content: center;
- background: rgb(0 0 0 / 50%);
}
.mobile-sheet {
display: flex;
- flex-direction: column;
width: 100%;
max-height: 85vh;
border-radius: 16px 16px 0 0;
background: var(--bg-color);
animation: slide-up 0.3s ease-out;
+ flex-direction: column;
}
@keyframes slide-up {
@@ -314,11 +314,11 @@ button,
.mobile-sheet-header {
display: flex;
- flex-shrink: 0;
- align-items: center;
- justify-content: space-between;
padding: 16px;
+ align-items: center;
border-bottom: 1px solid var(--border-color);
+ flex-shrink: 0;
+ justify-content: space-between;
}
.mobile-sheet-title {
@@ -328,16 +328,16 @@ button,
.mobile-sheet-close {
display: flex;
- align-items: center;
- justify-content: center;
width: 36px;
height: 36px;
padding: 0;
border: none;
border-radius: 50%;
background: var(--bg-contrast);
- cursor: pointer;
transition: background 0.2s;
+ align-items: center;
+ cursor: pointer;
+ justify-content: center;
&:hover {
background: var(--selection-color);
@@ -346,22 +346,22 @@ button,
.mobile-search-wrapper {
display: flex;
- flex-shrink: 0;
- align-items: center;
- gap: 8px;
padding: 12px 16px;
- border-bottom: 1px solid var(--border-color);
background: var(--bg-contrast);
+ align-items: center;
+ border-bottom: 1px solid var(--border-color);
+ flex-shrink: 0;
+ gap: 8px;
}
.mobile-search-input {
- flex: 1;
height: 40px;
padding: 8px 12px;
border: 1px solid var(--border-color);
border-radius: 8px;
- background: var(--bg-color);
font-size: 1rem;
+ background: var(--bg-color);
+ flex: 1;
&:focus {
border-color: var(--primary);
@@ -370,12 +370,12 @@ button,
}
.mobile-list {
- flex: 1;
margin: 0;
padding: 8px;
+ flex: 1;
list-style: none;
- overflow-y: auto;
-webkit-overflow-scrolling: touch;
+ overflow-y: auto;
:deep(.app-select-node) {
padding: 14px 16px;
@@ -389,9 +389,9 @@ button,
}
:deep(.app-select-node.selected) {
- background: var(--selection-color);
- color: var(--primary);
font-weight: 500;
+ color: var(--primary);
+ background: var(--selection-color);
}
}
@@ -404,20 +404,20 @@ button,
/* Clear selection option */
.clear-option {
display: flex;
- align-items: center;
- gap: 8px;
margin: 2px 0 6px;
padding: 6px 12px;
border-radius: 4px;
- border-bottom: 1px solid var(--border-color);
- color: var(--font-color-light);
font-size: 0.9rem;
- cursor: pointer;
+ color: var(--font-color-light);
transition: all 0.15s ease;
+ align-items: center;
+ border-bottom: 1px solid var(--border-color);
+ cursor: pointer;
+ gap: 8px;
&:hover {
- background: var(--selection-color);
color: var(--red);
+ background: var(--selection-color);
:deep(svg) {
fill: var(--red);
diff --git a/frontend/app/components/AppTagInput.vue b/frontend/app/components/AppTagInput.vue
index b001ae86..8b3f5281 100644
--- a/frontend/app/components/AppTagInput.vue
+++ b/frontend/app/components/AppTagInput.vue
@@ -69,16 +69,16 @@ button {
}
input {
- flex: 1 1 150px;
min-width: 100px;
padding: 4px 8px;
border: none;
border-radius: 6px;
- background: transparent;
font-size: 0.85rem;
color: var(--font-color);
- outline: none;
+ background: transparent;
transition: background 0.15s ease;
+ flex: 1 1 150px;
+ outline: none;
&:hover,
&:focus {
diff --git a/frontend/app/components/AppToggle.vue b/frontend/app/components/AppToggle.vue
index 15f80f23..5fe96baf 100644
--- a/frontend/app/components/AppToggle.vue
+++ b/frontend/app/components/AppToggle.vue
@@ -26,7 +26,6 @@ const toggle = () => {
<style scoped lang="scss">
.toggle {
display: flex;
- flex: 0 0 44px; // Avoiding shrinking
height: 24px;
padding: 2px;
border: 1px solid var(--border-color, #ccc);
@@ -35,6 +34,7 @@ const toggle = () => {
transition: background-color 0.3s ease, border-color 0.3s ease;
align-items: center;
cursor: pointer;
+ flex: 0 0 44px; // Avoiding shrinking
.circle {
width: 20px;
diff --git a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
index 086fa7f0..8226a5e8 100644
--- a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
+++ b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
@@ -373,6 +373,7 @@ defineExpose({ flattenedItems });
letter-spacing: 0.5px;
text-transform: uppercase;
}
+
.filters-actions {
display: flex;
align-items: center;
@@ -402,8 +403,8 @@ defineExpose({ flattenedItems });
.filters-content {
display: grid;
padding: 12px 16px;
- grid-template-columns: 1fr 1fr;
gap: 12px 16px;
+ grid-template-columns: 1fr 1fr;
}
.filter-group {
@@ -437,8 +438,8 @@ defineExpose({ flattenedItems });
label {
display: block;
font-size: 10px;
- margin-bottom: 2px;
opacity: 0.6;
+ margin-bottom: 2px;
}
}
@@ -519,11 +520,11 @@ defineExpose({ flattenedItems });
left: 0;
z-index: 10;
max-height: 150px;
- margin-top: 2px;
border: 1px solid var(--border-color);
border-radius: 4px;
background: var(--bg-color);
box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
+ margin-top: 2px;
overflow-y: auto;
}
@@ -541,8 +542,8 @@ defineExpose({ flattenedItems });
.selected-tags {
display: flex;
flex-wrap: wrap;
- margin-top: 6px;
gap: 4px;
+ margin-top: 6px;
}
.tag-chip {
@@ -574,8 +575,8 @@ defineExpose({ flattenedItems });
.filter-actions {
display: flex;
- grid-column: 1 / -1;
gap: 8px;
+ grid-column: 1 / -1;
}
.clear-filters-btn {
@@ -603,7 +604,7 @@ defineExpose({ flattenedItems });
}
.filter-hint {
- margin: 2px 0 0 0;
+ margin: 2px 0 0;
font-size: 10px;
color: var(--text-secondary);
}
diff --git a/frontend/app/components/CommandCenter/SearchResultsList.vue b/frontend/app/components/CommandCenter/SearchResultsList.vue
index 1834b812..6d8d4c53 100644
--- a/frontend/app/components/CommandCenter/SearchResultsList.vue
+++ b/frontend/app/components/CommandCenter/SearchResultsList.vue
@@ -97,8 +97,8 @@ const groupedItems = computed(() => {
}
.result-title {
- font-weight: 500;
font-size: 14px;
+ font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
diff --git a/frontend/app/components/ContextMenuManager.vue b/frontend/app/components/ContextMenuManager.vue
index 94a2e685..93c26866 100644
--- a/frontend/app/components/ContextMenuManager.vue
+++ b/frontend/app/components/ContextMenuManager.vue
@@ -165,7 +165,7 @@ const pos = computed(() => {
min-width: 240px;
border-radius: 12px;
background: var(--bg-color);
- box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
+ box-shadow: 0 8px 30px rgb(0 0 0 / 12%), 0 2px 8px rgb(0 0 0 / 6%);
overflow: hidden;
}
@@ -182,7 +182,7 @@ const pos = computed(() => {
}
:root.dark .context-menu {
- box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.1);
+ box-shadow: 0 8px 30px rgb(0 0 0 / 40%), 0 0 1px rgb(255 255 255 / 10%);
}
/* ========================
@@ -190,23 +190,23 @@ const pos = computed(() => {
======================== */
.mobile-overlay {
position: fixed;
- inset: 0;
z-index: 6000;
display: flex;
+ background: rgb(0 0 0 / 50%);
align-items: flex-end;
+ inset: 0;
justify-content: center;
- background: rgb(0 0 0 / 50%);
}
.mobile-sheet {
display: flex;
- flex-direction: column;
width: 100%;
min-height: 60vh;
max-height: 85vh;
border-radius: 16px 16px 0 0;
background: var(--bg-color);
animation: slide-up 0.3s ease-out;
+ flex-direction: column;
}
@keyframes slide-up {
@@ -221,11 +221,11 @@ const pos = computed(() => {
.mobile-sheet-header {
display: flex;
- flex-shrink: 0;
- align-items: center;
- justify-content: center;
padding: 12px 16px 8px;
+ align-items: center;
cursor: grab;
+ flex-shrink: 0;
+ justify-content: center;
touch-action: none;
user-select: none;
@@ -249,8 +249,8 @@ const pos = computed(() => {
.mobile-sheet-body {
flex: 1;
- overflow-y: auto;
-webkit-overflow-scrolling: touch;
+ overflow-y: auto;
}
/* Transitions */
diff --git a/frontend/app/components/DataTable.vue b/frontend/app/components/DataTable.vue
index 9e3882b6..6e7b0ed5 100644
--- a/frontend/app/components/DataTable.vue
+++ b/frontend/app/components/DataTable.vue
@@ -175,9 +175,9 @@ td {
}
th {
+ font-size: 13px;
background: var(--bg-ui);
text-transform: uppercase;
- font-size: 13px;
}
td > span {
@@ -204,27 +204,30 @@ td {
justify-content: center;
.active {
- background-color: var(--primary);
color: white;
+ background-color: var(--primary);
}
}
+
button {
- font-size: 1rem;
margin: 0 5px;
padding: 8px 12px;
- border-radius: $radius-sm;
border: 1px solid var(--border-color);
+ border-radius: $radius-sm;
+ font-size: 1rem;
+
&:hover {
border-color: var(--primary);
}
+
&:disabled {
- cursor: not-allowed;
opacity: 0.5;
+ cursor: not-allowed;
}
&.active {
- background-color: var(--primary);
color: white;
+ background-color: var(--primary);
}
}
diff --git a/frontend/app/components/DocumentCard.vue b/frontend/app/components/DocumentCard.vue
index b5d5df60..12a4ea7a 100644
--- a/frontend/app/components/DocumentCard.vue
+++ b/frontend/app/components/DocumentCard.vue
@@ -58,17 +58,17 @@ function showContextMenu(event: MouseEvent) {
display: flex;
max-width: 380px;
min-height: 250px;
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 12px;
+ background: var(--bg-color);
+ box-shadow: 0 1px 3px rgb(0 0 0 / 4%);
+ transition: all 0.2s ease;
flex-direction: column;
justify-content: space-between;
- transition: all 0.2s ease;
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
&:hover {
border-color: var(--border-color-accent);
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
+ box-shadow: 0 4px 12px rgb(0 0 0 / 8%);
transform: translateY(-2px);
}
}
@@ -89,9 +89,9 @@ function showContextMenu(event: MouseEvent) {
.document-title {
font-size: 17px;
font-weight: 600;
+ line-height: 1.3;
color: var(--font-color-dark);
transition: color 0.15s;
- line-height: 1.3;
&:hover {
color: var(--primary);
@@ -111,15 +111,15 @@ function showContextMenu(event: MouseEvent) {
}
.description {
+ display: -webkit-box;
margin: 0;
font-size: 14px;
line-height: 1.5;
color: var(--font-color-light);
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 3;
overflow: hidden;
text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
}
.tags {
@@ -132,13 +132,13 @@ function showContextMenu(event: MouseEvent) {
footer {
display: flex;
padding: 10px 14px;
+ border-radius: 0 0 11px 11px;
font-size: 12px;
color: var(--font-color-light);
background: var(--bg-contrast);
+ align-items: center;
border-top: 1px solid var(--border-color);
- border-radius: 0 0 11px 11px;
justify-content: space-between;
- align-items: center;
}
.footer-item {
diff --git a/frontend/app/components/DocumentLine.vue b/frontend/app/components/DocumentLine.vue
index ce1b3731..4abdeb8f 100644
--- a/frontend/app/components/DocumentLine.vue
+++ b/frontend/app/components/DocumentLine.vue
@@ -50,19 +50,19 @@ function showContextMenu(event: MouseEvent) {
.document-line {
display: flex;
padding: 14px 16px;
- background: var(--bg-color);
border: 1px solid var(--border-color);
+ background: var(--bg-color);
+ transition: background 0.15s ease;
border-bottom: none;
flex-direction: column;
- transition: background 0.15s ease;
&:first-child {
border-radius: 10px 10px 0 0;
}
&:last-child {
- border-bottom: 1px solid var(--border-color);
border-radius: 0 0 10px 10px;
+ border-bottom: 1px solid var(--border-color);
}
&:only-child {
@@ -89,8 +89,8 @@ header {
font-size: 16px;
font-weight: 600;
color: var(--font-color-dark);
- text-decoration: none;
transition: color 0.15s;
+ text-decoration: none;
&:hover {
color: var(--primary);
diff --git a/frontend/app/components/Icon.vue b/frontend/app/components/Icon.vue
index c717f805..752b0b0e 100644
--- a/frontend/app/components/Icon.vue
+++ b/frontend/app/components/Icon.vue
@@ -49,10 +49,12 @@ const isUnicode = (str: string) => {
width: 25px;
height: 25px;
}
+
&.xl {
width: 28px;
height: 28px;
}
+
&.xll {
width: 32px;
height: 32px;
@@ -61,7 +63,7 @@ const isUnicode = (str: string) => {
.c-icon:deep(svg),
.c-icon:deep(svg > * > path) {
- fill: inherit !important;
height: min-content;
+ fill: inherit !important;
}
</style>
diff --git a/frontend/app/components/Kanban/KanbanBoard.vue b/frontend/app/components/Kanban/KanbanBoard.vue
index 7dff1869..21a5e16b 100644
--- a/frontend/app/components/Kanban/KanbanBoard.vue
+++ b/frontend/app/components/Kanban/KanbanBoard.vue
@@ -178,27 +178,26 @@ defineExpose({ resetKanbanData });
<style scoped lang="scss">
.kanban-board {
display: flex;
- flex-direction: column;
height: 100%;
min-height: 0;
flex: 1;
+ flex-direction: column;
}
.board-content {
- flex: 1;
display: flex;
- gap: 16px;
- overflow-x: auto;
- overflow-y: hidden;
padding: 8px 4px 16px;
+ flex: 1;
+ gap: 16px;
+ overflow: auto hidden;
&::-webkit-scrollbar {
height: 6px;
}
&::-webkit-scrollbar-thumb {
- background: transparent;
border-radius: 3px;
+ background: transparent;
}
&:hover::-webkit-scrollbar-thumb {
@@ -213,33 +212,33 @@ defineExpose({ resetKanbanData });
.add-column-btn {
display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 8px;
min-width: 200px;
height: stretch;
- margin-top: auto;
- margin-bottom: auto;
padding: 20px;
- background: transparent;
border: 2px dashed var(--border-color);
border-radius: 12px;
- color: var(--font-color-light);
font-size: 13px;
font-weight: 500;
+ color: var(--font-color-light);
+ 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);
color: var(--primary);
- background: rgba(57, 86, 231, 0.04);
+ background: rgb(57 86 231 / 4%);
}
:deep(svg) {
width: 24px;
height: 24px;
- fill: currentColor;
+ fill: currentcolor;
}
}
diff --git a/frontend/app/components/Kanban/KanbanCard.vue b/frontend/app/components/Kanban/KanbanCard.vue
index 01500a22..c2cd8c02 100644
--- a/frontend/app/components/Kanban/KanbanCard.vue
+++ b/frontend/app/components/Kanban/KanbanCard.vue
@@ -54,10 +54,10 @@ const onDragEnd = () => {
<style scoped lang="scss">
.kanban-card {
- background: var(--bg-color);
+ padding: 12px;
border: 1px solid var(--border-color);
border-radius: 8px;
- padding: 12px;
+ background: var(--bg-color);
cursor: grab;
&:hover {
@@ -67,9 +67,9 @@ const onDragEnd = () => {
}
&:active {
+ box-shadow: var(--shadow-sm);
cursor: grabbing;
transform: scale(0.98);
- box-shadow: var(--shadow-sm);
}
}
@@ -88,16 +88,16 @@ const onDragEnd = () => {
.card-icon {
display: flex;
- align-items: center;
- justify-content: center;
width: 22px;
height: 22px;
border-radius: 6px;
+ align-items: center;
+ justify-content: center;
:deep(svg) {
width: 16px;
height: 16px;
- fill: currentColor;
+ fill: currentcolor;
}
}
@@ -116,11 +116,11 @@ const onDragEnd = () => {
display: block;
font-size: 14px;
font-weight: 600;
+ line-height: 1.3;
color: var(--font-color-dark);
+ transition: color $transition-duration;
margin-bottom: 4px;
text-decoration: none;
- line-height: 1.3;
- transition: color $transition-duration;
&:hover {
color: var(--primary);
@@ -128,43 +128,43 @@ const onDragEnd = () => {
}
.card-description {
+ display: -webkit-box;
+ margin: 0 0 10px;
font-size: 12px;
+ line-height: 1.4;
color: var(--font-color-light);
- margin: 0 0 10px;
- display: -webkit-box;
+ -webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
- -webkit-box-orient: vertical;
overflow: hidden;
- line-height: 1.4;
}
.card-footer {
display: flex;
align-items: center;
- justify-content: space-between;
gap: 8px;
+ justify-content: space-between;
}
.card-tags {
display: flex;
- gap: 4px;
- flex-wrap: wrap;
- flex: 1;
min-width: 0;
+ flex: 1;
+ flex-wrap: wrap;
+ gap: 4px;
}
.tag {
- font-size: 10px;
- font-weight: 500;
+ max-width: 80px;
padding: 2px 6px;
- background: var(--bg-contrast);
border-radius: 6px;
+ font-size: 10px;
+ font-weight: 500;
color: var(--font-color-light);
- white-space: nowrap;
+ background: var(--bg-contrast);
overflow: hidden;
text-overflow: ellipsis;
- max-width: 80px;
+ white-space: nowrap;
}
.card-date {
diff --git a/frontend/app/components/Kanban/KanbanColumn.vue b/frontend/app/components/Kanban/KanbanColumn.vue
index 6a6039e6..0c5a97aa 100644
--- a/frontend/app/components/Kanban/KanbanColumn.vue
+++ b/frontend/app/components/Kanban/KanbanColumn.vue
@@ -175,15 +175,15 @@ function handleClickOutside(e: MouseEvent) {
<style scoped lang="scss">
.kanban-column {
display: flex;
- flex-direction: column;
min-width: 300px;
max-width: 320px;
- background: var(--bg-contrast);
- border-radius: 12px;
padding: 12px;
+ border-radius: 12px;
+ background: var(--bg-contrast);
+ flex-direction: column;
&.drag-over {
- background: rgba(57, 86, 231, 0.06);
+ background: rgb(57 86 231 / 6%);
box-shadow: inset 0 0 0 2px var(--primary);
}
}
@@ -206,9 +206,9 @@ function handleClickOutside(e: MouseEvent) {
padding: 0;
border: none;
border-radius: 50%;
+ transition: transform $transition-duration;
cursor: pointer;
flex-shrink: 0;
- transition: transform $transition-duration;
&:hover {
transform: scale(1.2);
@@ -216,15 +216,15 @@ function handleClickOutside(e: MouseEvent) {
}
.column-title {
- flex: 1;
- font-size: 14px;
- font-weight: 600;
- color: var(--font-color-dark);
margin: 0;
- cursor: pointer;
padding: 2px 0;
border-radius: 6px;
+ font-size: 14px;
+ font-weight: 600;
+ color: var(--font-color-dark);
transition: color $transition-duration;
+ cursor: pointer;
+ flex: 1;
&:hover {
color: var(--primary);
@@ -232,26 +232,26 @@ function handleClickOutside(e: MouseEvent) {
}
.column-title-input {
- flex: 1;
- font-size: 14px;
- font-weight: 600;
padding: 4px 8px;
border: 1px solid var(--primary);
border-radius: 6px;
- background: var(--bg-color);
+ font-size: 14px;
+ font-weight: 600;
color: var(--font-color-dark);
+ background: var(--bg-color);
+ box-shadow: 0 0 0 3px rgb(57 86 231 / 10%);
+ flex: 1;
outline: none;
- box-shadow: 0 0 0 3px rgba(57, 86, 231, 0.1);
}
.column-count {
- font-size: 12px;
- font-weight: 600;
- padding: 2px 8px;
height: fit-content;
- background: var(--bg-color);
+ padding: 2px 8px;
border-radius: 16px;
+ font-size: 12px;
+ font-weight: 600;
color: var(--font-color-light);
+ background: var(--bg-color);
}
.column-actions {
@@ -261,31 +261,31 @@ function handleClickOutside(e: MouseEvent) {
.action-btn {
display: flex;
- align-items: center;
- justify-content: center;
width: 28px;
height: 28px;
padding: 0;
border: none;
border-radius: 6px;
- background: transparent;
color: var(--font-color-light);
+ background: transparent;
+ align-items: center;
cursor: pointer;
+ justify-content: center;
&:hover {
- background: var(--bg-color);
color: var(--font-color);
+ background: var(--bg-color);
}
&.danger:hover {
- background: var(--red-bg);
color: var(--red);
+ background: var(--red-bg);
}
:deep(svg) {
width: 16px;
height: 16px;
- fill: currentColor;
+ fill: currentcolor;
}
}
@@ -295,14 +295,14 @@ function handleClickOutside(e: MouseEvent) {
left: 0;
z-index: 10;
display: flex;
- gap: 6px;
+ max-width: 180px;
padding: 10px;
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 8px;
+ background: var(--bg-color);
box-shadow: var(--shadow-md);
flex-wrap: wrap;
- max-width: 180px;
+ gap: 6px;
}
.color-option {
@@ -324,23 +324,23 @@ function handleClickOutside(e: MouseEvent) {
}
.column-content {
- flex: 1;
display: flex;
- flex-direction: column;
- gap: 8px;
min-height: 120px;
max-height: 60vh;
- overflow-y: auto;
- padding: 4px;
margin: -4px;
+ padding: 4px;
+ flex: 1;
+ flex-direction: column;
+ gap: 8px;
+ overflow-y: auto;
&::-webkit-scrollbar {
width: 4px;
}
&::-webkit-scrollbar-thumb {
- background: transparent;
border-radius: 4px;
+ background: transparent;
}
&:hover::-webkit-scrollbar-thumb {
@@ -350,28 +350,28 @@ function handleClickOutside(e: MouseEvent) {
.empty-state {
display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
padding: 32px 16px;
- color: var(--font-color-light);
- text-align: center;
border: 2px dashed var(--border-color);
border-radius: 8px;
- background: rgba(0, 0, 0, 0.02);
+ color: var(--font-color-light);
+ text-align: center;
+ background: rgb(0 0 0 / 2%);
+ align-items: center;
+ flex-direction: column;
+ justify-content: center;
:deep(svg) {
width: 24px;
height: 24px;
- fill: currentColor;
opacity: 0.5;
+ fill: currentcolor;
margin-bottom: 8px;
}
p {
+ margin: 0 0 2px;
font-size: 13px;
font-weight: 500;
- margin: 0 0 2px;
}
span {
@@ -382,29 +382,29 @@ function handleClickOutside(e: MouseEvent) {
.add-card-btn {
display: flex;
- align-items: center;
- justify-content: center;
- gap: 6px;
width: 100%;
padding: 10px;
- margin-top: 12px;
border: none;
border-radius: 8px;
- background: var(--bg-color);
- color: var(--font-color-light);
font-size: 13px;
font-weight: 500;
+ color: var(--font-color-light);
+ background: var(--bg-color);
+ align-items: center;
cursor: pointer;
+ gap: 6px;
+ justify-content: center;
+ margin-top: 12px;
&:hover {
color: var(--primary);
- background: rgba(57, 86, 231, 0.08);
+ background: rgb(57 86 231 / 8%);
}
:deep(svg) {
width: 16px;
height: 16px;
- fill: currentColor;
+ fill: currentcolor;
}
}
diff --git a/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue b/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue
index 447554ba..be74b5fd 100644
--- a/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue
+++ b/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue
@@ -163,28 +163,28 @@ const autoSave = debounceDelayed(() => {
// Compact Document Metadata - Single line
.document-meta {
display: flex;
- align-items: center;
- gap: 8px;
padding: 6px 12px;
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 10px;
+ background: var(--bg-color);
+ align-items: center;
flex-wrap: wrap;
+ gap: 8px;
}
.meta-title {
- flex: 0 1 auto;
min-width: 120px;
max-width: 280px;
padding: 4px 8px;
border: none;
border-radius: 6px;
- background: transparent;
font-size: 1rem;
font-weight: 600;
color: var(--font-color-dark);
- outline: none;
+ background: transparent;
transition: background 0.15s ease;
+ flex: 0 1 auto;
+ outline: none;
&:hover,
&:focus {
@@ -192,22 +192,22 @@ const autoSave = debounceDelayed(() => {
}
&::placeholder {
- color: var(--font-color-light);
font-weight: 500;
+ color: var(--font-color-light);
}
}
.meta-description {
- flex: 1 1 150px;
min-width: 100px;
padding: 4px 8px;
border: none;
border-radius: 6px;
- background: transparent;
font-size: 0.85rem;
color: var(--font-color);
- outline: none;
+ background: transparent;
transition: background 0.15s ease;
+ flex: 1 1 150px;
+ outline: none;
&:hover,
&:focus {
@@ -221,28 +221,28 @@ const autoSave = debounceDelayed(() => {
}
.meta-tags {
- flex: 0 1 auto;
min-width: 150px;
+ flex: 0 1 auto;
}
// Editor Content Section
.editor-content {
display: flex;
- flex: 1;
min-height: 0;
+ flex: 1;
gap: 8px;
}
.editor-panel,
.preview-panel {
- display: flex;
- flex-direction: column;
position: relative;
- flex: 1;
+ display: flex;
min-width: 0;
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 10px;
+ background: var(--bg-color);
+ flex: 1;
+ flex-direction: column;
overflow: hidden;
}
@@ -252,18 +252,18 @@ const autoSave = debounceDelayed(() => {
.panel-header {
display: flex;
- align-items: center;
padding: 6px 12px;
background: var(--bg-ui);
+ align-items: center;
border-bottom: 1px solid var(--border-color);
}
.panel-label {
font-size: 10px;
font-weight: 600;
- text-transform: uppercase;
- letter-spacing: 0.5px;
color: var(--font-color-light);
+ letter-spacing: 0.5px;
+ text-transform: uppercase;
}
.codemirror-editor {
@@ -288,14 +288,14 @@ const autoSave = debounceDelayed(() => {
}
.markdown-preview {
- flex: 1;
padding: 12px 16px;
background: var(--bg-color);
+ flex: 1;
overflow: auto;
}
// Responsive
-@media (max-width: 900px) {
+@media (width <= 900px) {
.editor-content {
flex-direction: column;
}
@@ -314,18 +314,18 @@ const autoSave = debounceDelayed(() => {
}
}
-@media (max-width: 600px) {
+@media (width <= 600px) {
.document-meta {
- flex-direction: column;
+ padding: 8px 10px;
align-items: stretch;
+ flex-direction: column;
gap: 4px;
- padding: 8px 10px;
}
.meta-title,
.meta-description {
- max-width: 100%;
width: 100%;
+ max-width: 100%;
}
.meta-tags {
diff --git a/frontend/app/components/MarkdownEditor/Toolbar.vue b/frontend/app/components/MarkdownEditor/Toolbar.vue
index b4676a8a..1231986b 100644
--- a/frontend/app/components/MarkdownEditor/Toolbar.vue
+++ b/frontend/app/components/MarkdownEditor/Toolbar.vue
@@ -46,7 +46,7 @@
<div class="toolbar-divider" />
<!-- Voice & Category -->
- <div class="toolbar-group" style="flex-direction: row; flex: 1">
+ <div class="toolbar-group" style=" flex: 1;flex-direction: row">
<VoiceRecognition @transcription="handleTranscription" />
<AppSelect v-if="!minimal" v-model="localValue.parent_id" :items="categories" placeholder="Category" class="category-select" />
</div>
@@ -217,22 +217,21 @@ const actionTools: ToolItem[] = [
<style scoped lang="scss">
.toolbar {
display: flex;
- overflow-x: clip;
-
width: 100%;
padding: 8px 12px;
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 12px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
+ background: var(--bg-color);
+ box-shadow: 0 2px 8px rgb(0 0 0 / 4%);
+ transition: box-shadow 0.2s ease;
align-items: center;
flex-wrap: wrap;
gap: 6px;
+ overflow-x: clip;
user-select: none;
- transition: box-shadow 0.2s ease;
&:hover {
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
+ box-shadow: 0 4px 12px rgb(0 0 0 / 8%);
}
}
@@ -244,10 +243,10 @@ const actionTools: ToolItem[] = [
.group-buttons {
display: flex;
- gap: 2px;
padding: 4px;
- background: var(--bg-ui);
border-radius: 8px;
+ background: var(--bg-ui);
+ gap: 2px;
}
.toolbar-btn {
@@ -255,28 +254,28 @@ const actionTools: ToolItem[] = [
display: flex;
width: 32px;
height: 32px;
- padding: 0;
margin: 0;
+ padding: 0;
border: none;
border-radius: 6px;
background: transparent;
- cursor: pointer;
+ transition: all 0.15s ease;
align-items: center;
+ cursor: pointer;
justify-content: center;
- transition: all 0.15s ease;
.btn-icon {
display: flex;
- align-items: center;
- justify-content: center;
width: 18px;
height: 18px;
+ align-items: center;
+ justify-content: center;
:deep(svg) {
width: 18px;
height: 18px;
- fill: var(--font-color-light);
transition: fill 0.15s ease, transform 0.15s ease;
+ fill: var(--font-color-light);
}
}
@@ -289,8 +288,8 @@ const actionTools: ToolItem[] = [
.tooltip {
opacity: 1;
- visibility: visible;
transform: translateX(-50%) translateY(0);
+ visibility: visible;
}
}
@@ -300,8 +299,9 @@ const actionTools: ToolItem[] = [
}
.btn-primary {
- background: var(--primary-bg);
border: 1px solid var(--border-color);
+ background: var(--primary-bg);
+
&:hover {
border-color: var(--primary);
background: var(--primary-bg);
@@ -309,12 +309,12 @@ const actionTools: ToolItem[] = [
}
.btn-accent {
- background: var(--bg-contrast);
border: 1px solid var(--border-color);
+ background: var(--bg-contrast);
&:hover {
- background: var(--primary-bg);
border-color: var(--primary);
+ background: var(--primary-bg);
}
}
@@ -322,8 +322,8 @@ const actionTools: ToolItem[] = [
opacity: 0.9;
&:hover {
- opacity: 1;
background: var(--bg-ui);
+ opacity: 1;
}
}
@@ -331,48 +331,48 @@ const actionTools: ToolItem[] = [
position: absolute;
top: calc(100% + 8px);
left: 50%;
- transform: translateX(-50%) translateY(-4px);
+ z-index: 1000;
+ display: flex;
padding: 6px 10px;
- background: var(--opposite-color);
- color: var(--bg-color);
+ border-radius: 6px;
font-size: 11px;
font-weight: 500;
- border-radius: 6px;
- white-space: nowrap;
+ color: var(--bg-color);
+ background: var(--opposite-color);
+ box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
opacity: 0;
- visibility: hidden;
transition: all 0.2s ease;
- z-index: 1000;
- pointer-events: none;
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
- display: flex;
align-items: center;
gap: 6px;
+ pointer-events: none;
+ transform: translateX(-50%) translateY(-4px);
+ visibility: hidden;
+ white-space: nowrap;
&::before {
- content: '';
position: absolute;
top: -4px;
left: 50%;
- transform: translateX(-50%);
+ border-bottom: 5px solid var(--opposite-color);
border-left: 5px solid transparent;
border-right: 5px solid transparent;
- border-bottom: 5px solid var(--opposite-color);
+ content: '';
+ transform: translateX(-50%);
}
kbd {
padding: 2px 5px;
border-radius: 3px;
- font-size: 10px;
font-family: inherit;
+ font-size: 10px;
}
}
.toolbar-divider {
width: 1px;
height: 32px;
- background: var(--border-color);
margin: 0 6px;
+ background: var(--border-color);
opacity: 0.5;
}
@@ -385,20 +385,20 @@ const actionTools: ToolItem[] = [
.stats-badge {
display: flex;
- align-items: center;
- gap: 8px;
padding: 4px 12px;
- background: linear-gradient(135deg, var(--bg-contrast) 0%, var(--bg-contrast-2) 100%);
- border-radius: 8px;
border: 1px solid var(--border-color);
+ border-radius: 8px;
+ background: linear-gradient(135deg, var(--bg-contrast) 0%, var(--bg-contrast-2) 100%);
+ align-items: center;
+ gap: 8px;
}
.stat-item {
display: flex;
- flex-direction: column;
+ line-height: 1.1;
align-items: center;
+ flex-direction: column;
gap: 0;
- line-height: 1.1;
}
.stat-value {
@@ -411,8 +411,8 @@ const actionTools: ToolItem[] = [
.stat-label {
font-size: 9px;
color: var(--font-color-light);
- text-transform: uppercase;
letter-spacing: 0.3px;
+ text-transform: uppercase;
}
.stat-divider {
@@ -423,10 +423,10 @@ const actionTools: ToolItem[] = [
.action-buttons {
display: flex;
- gap: 4px;
padding: 4px;
- background: var(--bg-ui);
border-radius: 8px;
+ background: var(--bg-ui);
+ gap: 4px;
}
.settings-buttons {
@@ -435,12 +435,12 @@ const actionTools: ToolItem[] = [
}
.category-select {
- background: var(--bg-color);
border-radius: 8px;
+ background: var(--bg-color);
}
// Responsive adjustments
-@media (max-width: 900px) {
+@media (width <= 900px) {
.toolbar {
padding: 6px 8px;
gap: 4px;
@@ -478,7 +478,7 @@ const actionTools: ToolItem[] = [
}
}
-@media (max-width: 700px) {
+@media (width <= 700px) {
.toolbar-divider {
display: none;
}
@@ -494,7 +494,7 @@ const actionTools: ToolItem[] = [
// Tablet hide
.no-tablet {
- @media (max-width: 1024px) {
+ @media (width <= 1024px) {
display: none;
}
}
diff --git a/frontend/app/components/MarkdownSyntax.vue b/frontend/app/components/MarkdownSyntax.vue
index 3a7e72cc..e23f0b9c 100644
--- a/frontend/app/components/MarkdownSyntax.vue
+++ b/frontend/app/components/MarkdownSyntax.vue
@@ -215,7 +215,7 @@ Useful for side content or notes.
<li><strong>Task lists:</strong> <code>- [ ] Todo</code>, <code>- [x] Done</code></li>
<li>
<strong>Tables:</strong><br />
- <pre style="padding: 0.75rem; border-radius: 6px; color: white; overflow-x: auto; margin: 10px 0">
+ <pre style=" margin: 10px 0;padding: 0.75rem; border-radius: 6px; color: white; overflow-x: auto">
| Column 1 | Column 2 |
|-----------|-----------|
| Cell 1 | Cell 2 |</pre
@@ -234,72 +234,83 @@ import compile from '~/helpers/markdown';
<style scoped lang="scss">
.markdown-guide {
- line-height: 1.7;
margin: auto;
+ line-height: 1.7;
}
+
.content {
margin: 1rem 0.5rem;
}
+
h1 {
display: flex;
- align-items: center;
margin: 0;
+ align-items: center;
}
+
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 {
padding: 0.2rem 0.4rem;
border-radius: 4px;
font-family: 'JetBrains Mono', monospace;
font-size: 0.8rem;
}
+
.demo {
display: flex;
width: 100%;
flex-wrap: wrap;
gap: 1rem;
margin-bottom: 1rem;
+
pre {
+ margin: 10px 0;
padding: 0.75rem;
border-radius: 6px;
color: white;
overflow-x: auto;
- margin: 10px 0;
}
+
* {
flex: 1;
}
}
+
.custom-block pre {
- background: rgba(255, 255, 255, 0.3);
- margin-top: 0.5rem;
padding: 0.5rem;
border-radius: 6px;
font-family: 'JetBrains Mono', monospace;
font-size: 0.85rem;
+ background: rgb(255 255 255 / 30%);
+ margin-top: 0.5rem;
}
+
.block-grid {
display: grid;
- grid-template-columns: repeat(3, 1fr);
gap: 1rem;
+ grid-template-columns: repeat(3, 1fr);
}
+
.external-link {
- color: var(--primary);
display: inline-flex;
+ color: var(--primary);
align-items: center;
gap: 4px;
}
-@media screen and (max-width: 800px) {
+@media screen and (width <= 800px) {
.block-grid {
grid-template-columns: 1fr;
}
+
.demo {
flex-direction: column;
}
diff --git a/frontend/app/components/Navbar.vue b/frontend/app/components/Navbar.vue
index 3fbb0578..85700280 100644
--- a/frontend/app/components/Navbar.vue
+++ b/frontend/app/components/Navbar.vue
@@ -88,9 +88,9 @@ button {
kbd {
padding: 0 4px;
border: 1px solid var(--font-color-light);
- font-size: 14px;
- font-family: monospace;
border-radius: 4px;
+ font-family: monospace;
+ font-size: 14px;
font-weight: 600;
background: var(--border-color);
}
diff --git a/frontend/app/components/Node/Filter.vue b/frontend/app/components/Node/Filter.vue
index 9686a730..f98e110c 100644
--- a/frontend/app/components/Node/Filter.vue
+++ b/frontend/app/components/Node/Filter.vue
@@ -114,62 +114,67 @@ onBeforeUnmount(() => {
position: relative;
display: inline-block;
}
+
.bubble {
position: absolute;
top: 2px;
right: 2px;
width: 10px;
height: 10px;
- background: var(--primary-bg);
border: 3px solid var(--primary);
border-radius: 50%;
+ background: var(--primary-bg);
}
.filter-panel {
position: absolute;
- right: 0;
top: 48px;
+ right: 0;
+ z-index: 200;
width: 320px;
- background: var(--bg-color);
- border-radius: 8px;
padding: 12px;
- box-shadow: 0 10px 30px rgba(2, 6, 23, 0.2);
border: 1px solid var(--border-color);
- z-index: 200;
+ border-radius: 8px;
+ background: var(--bg-color);
+ box-shadow: 0 10px 30px rgb(2 6 23 / 20%);
}
.row {
display: flex;
- justify-content: space-around;
- gap: 8px;
margin: 4px 0;
+ gap: 8px;
+ justify-content: space-around;
}
+
label {
font-size: 13px;
margin-bottom: 6px;
}
+
.panel-actions {
display: flex;
gap: 8px;
justify-content: flex-end;
margin-top: 6px;
}
+
.btn {
padding: 8px 12px;
- border-radius: 8px;
border: 1px solid var(--border-color);
+ border-radius: 8px;
background: transparent;
cursor: pointer;
}
+
.btn.primary {
- background: linear-gradient(180deg, var(--primary) 0%, var(--primary-600) 100%);
- color: white;
border: none;
+ color: white;
+ background: linear-gradient(180deg, var(--primary) 0%, var(--primary-600) 100%);
}
.panel-footer {
- margin-top: 8px;
color: var(--muted);
+ margin-top: 8px;
}
/* small pop animation */
@@ -177,20 +182,24 @@ label {
.pop-leave-active {
transition: transform 0.15s ease, opacity 0.15s ease;
}
+
.pop-enter-from {
- transform: scale(0.98);
opacity: 0;
+ transform: scale(0.98);
}
+
.pop-enter-to {
- transform: scale(1);
opacity: 1;
+ transform: scale(1);
}
+
.pop-leave-from {
- transform: scale(1);
opacity: 1;
+ transform: scale(1);
}
+
.pop-leave-to {
- transform: scale(0.98);
opacity: 0;
+ transform: scale(0.98);
}
</style>
diff --git a/frontend/app/components/Node/NodeContextMenu.vue b/frontend/app/components/Node/NodeContextMenu.vue
index 67ec9c70..a1d745d4 100644
--- a/frontend/app/components/Node/NodeContextMenu.vue
+++ b/frontend/app/components/Node/NodeContextMenu.vue
@@ -89,10 +89,10 @@ async function action(name: string) {
.menu-header {
display: flex;
- align-items: center;
- gap: 10px;
padding: 8px 10px 12px;
+ align-items: center;
border-bottom: 1px solid var(--border-color);
+ gap: 10px;
margin-bottom: 6px;
}
@@ -105,18 +105,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(--font-color-dark);
- white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
}
.header-meta {
@@ -136,19 +136,19 @@ async function action(name: string) {
.menu-item {
display: flex;
- align-items: center;
- gap: 10px;
width: 100%;
padding: 4px 10px;
border: none;
border-radius: 8px;
- background: none;
- color: var(--font-color);
font: inherit;
font-size: 13px;
+ color: var(--font-color);
text-align: left;
- cursor: pointer;
+ background: none;
transition: background 0.1s;
+ align-items: center;
+ cursor: pointer;
+ gap: 10px;
&:hover {
background: var(--bg-contrast);
@@ -162,20 +162,22 @@ async function action(name: string) {
}
kbd {
- margin-left: auto;
padding: 2px 5px;
+ border-radius: 4px;
font-family: inherit;
font-size: 10px;
color: var(--font-color-light);
background: var(--bg-contrast);
- border-radius: 4px;
+ margin-left: auto;
}
&.delete {
color: var(--red);
+
:deep(svg) {
fill: var(--red);
}
+
kbd {
color: var(--red);
background: var(--red-bg);
@@ -183,14 +185,15 @@ async function action(name: string) {
}
}
-@media screen and (max-width: 768px) {
+@media screen and (width <= 768px) {
.context-menu.is-context-menu {
width: 100%;
- box-shadow: none;
border: none;
+ box-shadow: none;
+
.menu-item {
- font-size: 16px;
padding: 12px 16px;
+ font-size: 16px;
}
}
}
diff --git a/frontend/app/components/Node/NodeList.vue b/frontend/app/components/Node/NodeList.vue
index b818363a..918c752d 100644
--- a/frontend/app/components/Node/NodeList.vue
+++ b/frontend/app/components/Node/NodeList.vue
@@ -153,10 +153,10 @@ header {
h1 {
display: flex;
- align-items: center;
- gap: 12px;
font-size: 18px;
font-weight: 600;
+ align-items: center;
+ gap: 12px;
}
.header-actions {
@@ -170,13 +170,14 @@ h1 {
border-radius: 6px;
margin-right: 10px;
}
+
.doc-count {
padding: 6px 10px;
- background: var(--bg-contrast);
border-radius: 8px;
font-size: 13px;
font-weight: 600;
color: var(--font-color-light);
+ background: var(--bg-contrast);
}
.node-content {
@@ -198,10 +199,11 @@ h1 {
border-bottom-right-radius: 12px;
}
-@media screen and (max-width: 768px) {
+@media screen and (width <= 768px) {
.parent-icon {
margin-right: 0;
}
+
.header-actions {
gap: 0;
}
diff --git a/frontend/app/components/NodeRecentCard.vue b/frontend/app/components/NodeRecentCard.vue
index ff9ea52a..a5077daa 100644
--- a/frontend/app/components/NodeRecentCard.vue
+++ b/frontend/app/components/NodeRecentCard.vue
@@ -32,25 +32,26 @@ const icon = resolveIcon(props.node);
<style scoped lang="scss">
.card {
display: flex;
- flex-direction: column;
+ height: 100%;
padding: 1rem;
border: 1px solid var(--border-color);
border-radius: 12px;
- text-decoration: none;
color: var(--font-color);
transition: all 0.2s;
- height: 100%;
+ flex-direction: column;
+ text-decoration: none;
+
&:hover {
border-color: var(--primary);
+ box-shadow: 0 4px 12px rgb(0 0 0 / 8%);
transform: translateY(-2px);
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
}
.header {
display: flex;
- justify-content: space-between;
align-items: center;
+ justify-content: space-between;
margin-bottom: 0.5rem;
}
@@ -63,19 +64,19 @@ const icon = resolveIcon(props.node);
font-size: 1rem;
font-weight: 600;
margin-bottom: 0.25rem;
- white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
}
.desc {
+ display: -webkit-box;
font-size: 0.85rem;
color: var(--font-color-light);
- margin-bottom: 0.5rem;
- display: -webkit-box;
+ -webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
- -webkit-box-orient: vertical;
+ margin-bottom: 0.5rem;
overflow: hidden;
}
diff --git a/frontend/app/components/NodeWorkspaceCard.vue b/frontend/app/components/NodeWorkspaceCard.vue
index fd036bf8..fa104afd 100644
--- a/frontend/app/components/NodeWorkspaceCard.vue
+++ b/frontend/app/components/NodeWorkspaceCard.vue
@@ -40,19 +40,19 @@ const getWorkspaceDocCount = (workspaceId: string) => {
<style scoped lang="scss">
.card {
display: flex;
- flex-direction: column;
+ height: 100%;
padding: 1.25rem;
border: 1px solid var(--border-color);
border-radius: 12px;
- text-decoration: none;
color: var(--font-color);
- transition: all 0.2s;
background: var(--bg-color);
- height: 100%;
+ transition: all 0.2s;
+ flex-direction: column;
+ text-decoration: none;
&:hover {
+ box-shadow: 0 4px 16px rgb(0 0 0 / 10%);
transform: translateY(-2px);
- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
// Color variants - generated
@@ -65,10 +65,11 @@ const getWorkspaceDocCount = (workspaceId: string) => {
.header {
display: flex;
- justify-content: space-between;
align-items: center;
+ justify-content: space-between;
margin-bottom: 0.75rem;
}
+
.title {
display: flex;
align-items: center;
@@ -81,11 +82,11 @@ const getWorkspaceDocCount = (workspaceId: string) => {
}
.count {
- font-size: 0.8rem;
padding: 0.2rem 0.6rem;
- background: var(--bg-contrast);
border-radius: 12px;
+ font-size: 0.8rem;
color: var(--font-color-light);
+ background: var(--bg-contrast);
}
.name {
@@ -95,13 +96,13 @@ const getWorkspaceDocCount = (workspaceId: string) => {
}
.desc {
+ display: -webkit-box;
font-size: 0.85rem;
color: var(--font-color-light);
- margin-bottom: 0.75rem;
- display: -webkit-box;
+ -webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
- -webkit-box-orient: vertical;
+ margin-bottom: 0.75rem;
overflow: hidden;
}
@@ -113,11 +114,11 @@ const getWorkspaceDocCount = (workspaceId: string) => {
}
.child-badge {
- font-size: 0.75rem;
padding: 0.2rem 0.5rem;
- background: var(--bg-contrast);
border-radius: 4px;
+ font-size: 0.75rem;
color: var(--font-color-light);
+ background: var(--bg-contrast);
}
.child-more {
diff --git a/frontend/app/components/Notification.vue b/frontend/app/components/Notification.vue
index 325bca8e..06db3a96 100644
--- a/frontend/app/components/Notification.vue
+++ b/frontend/app/components/Notification.vue
@@ -57,10 +57,10 @@ const close = (id: number) => useNotifications().remove(id);
display: flex;
width: 380px;
padding: 14px 16px;
- border-radius: 12px;
border: 1px solid var(--border-color);
+ border-radius: 12px;
background: var(--bg-color);
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
+ box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%);
align-items: flex-start;
gap: 12px;
overflow: hidden;
@@ -69,8 +69,8 @@ const close = (id: number) => useNotifications().remove(id);
.icon-wrapper {
display: flex;
width: 36px;
- height: 36px;
min-width: 36px;
+ height: 36px;
border-radius: 10px;
align-items: center;
justify-content: center;
@@ -82,10 +82,10 @@ const close = (id: number) => useNotifications().remove(id);
}
.content {
- flex: 1;
min-width: 0;
- padding-top: 2px;
text-align: left;
+ flex: 1;
+ padding-top: 2px;
}
.title {
@@ -110,13 +110,13 @@ const close = (id: number) => useNotifications().remove(id);
padding: 0;
border: none;
border-radius: 8px;
- background: transparent;
color: var(--font-color-light);
- cursor: pointer;
- align-items: center;
- justify-content: center;
+ background: transparent;
transition: all 0.15s ease;
+ align-items: center;
+ cursor: pointer;
flex-shrink: 0;
+ justify-content: center;
svg {
width: 16px;
@@ -124,8 +124,8 @@ const close = (id: number) => useNotifications().remove(id);
}
&:hover {
- background: var(--bg-contrast);
color: var(--font-color);
+ background: var(--bg-contrast);
}
}
@@ -133,18 +133,19 @@ const close = (id: number) => useNotifications().remove(id);
position: absolute;
bottom: 0;
left: 0;
- height: 3px;
width: 100%;
- background: currentColor;
+ height: 3px;
+ background: currentcolor;
opacity: 0.3;
- transform-origin: left;
animation: shrink linear forwards;
+ transform-origin: left;
}
@keyframes shrink {
from {
transform: scaleX(1);
}
+
to {
transform: scaleX(0);
}
@@ -153,9 +154,10 @@ const close = (id: number) => useNotifications().remove(id);
/* Notification types */
.success {
.icon-wrapper {
- background: var(--green-bg);
color: var(--green);
+ background: var(--green-bg);
}
+
.progress-bar {
background: var(--green);
}
@@ -163,9 +165,10 @@ const close = (id: number) => useNotifications().remove(id);
.error {
.icon-wrapper {
- background: var(--red-bg);
color: var(--red);
+ background: var(--red-bg);
}
+
.progress-bar {
background: var(--red);
}
@@ -173,9 +176,10 @@ const close = (id: number) => useNotifications().remove(id);
.warning {
.icon-wrapper {
- background: var(--yellow-bg);
color: var(--yellow);
+ background: var(--yellow-bg);
}
+
.progress-bar {
background: var(--yellow);
}
@@ -183,9 +187,10 @@ const close = (id: number) => useNotifications().remove(id);
.info {
.icon-wrapper {
- background: var(--blue-bg);
color: var(--blue);
+ background: var(--blue-bg);
}
+
.progress-bar {
background: var(--blue);
}
@@ -216,6 +221,6 @@ const close = (id: number) => useNotifications().remove(id);
/* Dark mode adjustments */
:global(.dark-mode) .notification {
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
+ box-shadow: 0 4px 6px -1px rgb(0 0 0 / 30%), 0 2px 4px -2px rgb(0 0 0 / 20%);
}
</style>
diff --git a/frontend/app/components/Sidebar/Dock.vue b/frontend/app/components/Sidebar/Dock.vue
index a5a5cf0b..fa5c8fee 100644
--- a/frontend/app/components/Sidebar/Dock.vue
+++ b/frontend/app/components/Sidebar/Dock.vue
@@ -44,8 +44,8 @@ function closeDock() {
.dock {
display: flex;
padding: 1rem 0.3rem;
- border-right: 1px solid var(--border-color);
background-color: var(--bg-color);
+ border-right: 1px solid var(--border-color);
flex-direction: column;
gap: 10px;
}
diff --git a/frontend/app/components/Sidebar/SidebarWorkspaces.vue b/frontend/app/components/Sidebar/SidebarWorkspaces.vue
index b4f5541b..e4bcb340 100644
--- a/frontend/app/components/Sidebar/SidebarWorkspaces.vue
+++ b/frontend/app/components/Sidebar/SidebarWorkspaces.vue
@@ -77,10 +77,10 @@ const create_workspace = (_: MouseEvent) => useModal().add(new Modal(shallowRef(
border: 1px solid var(--border-color);
border-radius: 8px;
background: var(--bg-color);
+ transition: all 0.2s ease;
align-items: center;
cursor: pointer;
justify-content: space-between;
- transition: all 0.2s ease;
&:hover {
border-color: var(--border-color-accent);
@@ -116,9 +116,9 @@ const create_workspace = (_: MouseEvent) => useModal().add(new Modal(shallowRef(
color: var(--font-color);
background-color: var(--bg-color);
box-shadow: 0 8px 24px var(--shadow), 0 2px 8px var(--shadow);
+ animation: slideDown 0.15s ease-out;
list-style: none;
overflow-y: auto;
- animation: slideDown 0.15s ease-out;
}
@keyframes slideDown {
@@ -126,6 +126,7 @@ const create_workspace = (_: MouseEvent) => useModal().add(new Modal(shallowRef(
opacity: 0;
transform: translateY(-8px);
}
+
to {
opacity: 1;
transform: translateY(0);
@@ -136,13 +137,13 @@ li {
margin: 4px 0;
padding: 2px 4px;
border-radius: 6px;
- cursor: pointer;
transition: all 0.15s ease;
+ cursor: pointer;
}
li.selected {
- background: var(--default-bg);
font-weight: 500;
+ background: var(--default-bg);
}
li:hover:not(.selected) {
@@ -167,14 +168,14 @@ hr {
font-size: 0.9rem;
font-weight: 500;
color: var(--font-color-light);
+ transition: all 0.15s ease;
align-items: center;
cursor: pointer;
gap: 6px;
- transition: all 0.15s ease;
&:hover {
- background-color: var(--bg-contrast-2);
color: var(--font-color);
+ background-color: var(--bg-contrast-2);
svg {
fill: var(--default) !important;
diff --git a/frontend/app/components/ViewSelection.vue b/frontend/app/components/ViewSelection.vue
index 51c97c7b..bbc7d0af 100644
--- a/frontend/app/components/ViewSelection.vue
+++ b/frontend/app/components/ViewSelection.vue
@@ -47,26 +47,27 @@ onMounted(() => {
<style scoped lang="scss">
.view-selection {
display: flex;
- align-items: center;
- background: var(--bg-contrast);
- border-radius: 8px;
padding: 3px;
+ border-radius: 8px;
+ background: var(--bg-contrast);
+ align-items: center;
gap: 2px;
}
button {
display: flex;
- align-items: center;
- justify-content: center;
width: 32px;
height: 32px;
padding: 0;
border: none;
border-radius: $radius-sm;
- background: transparent;
color: var(--font-color-light);
- cursor: pointer;
+ background: transparent;
transition: color 0.2s, background 0.2s;
+ align-items: center;
+ cursor: pointer;
+ justify-content: center;
+
&:hover {
color: var(--font-color);
background: var(--bg-color);
@@ -79,7 +80,7 @@ button {
:deep(svg) {
width: 18px;
height: 18px;
- fill: currentColor;
+ fill: currentcolor;
}
}
</style>
diff --git a/frontend/app/pages/(public)/_components/AppCTA.vue b/frontend/app/pages/(public)/_components/AppCTA.vue
index b2e4131f..a9675d56 100644
--- a/frontend/app/pages/(public)/_components/AppCTA.vue
+++ b/frontend/app/pages/(public)/_components/AppCTA.vue
@@ -19,12 +19,13 @@
background: var(--primary);
margin-bottom: 3rem;
}
+
.btn {
padding: 0.9rem 1.8rem;
border-radius: 50px;
font-weight: 600;
- text-decoration: none;
margin-top: 10px;
+ text-decoration: none;
}
.btn.primary {
diff --git a/frontend/app/pages/(public)/_components/AppFooter.vue b/frontend/app/pages/(public)/_components/AppFooter.vue
index 596a747f..08034cae 100644
--- a/frontend/app/pages/(public)/_components/AppFooter.vue
+++ b/frontend/app/pages/(public)/_components/AppFooter.vue
@@ -100,24 +100,24 @@
<style scoped lang="scss">
.footer {
position: relative;
- margin-top: 4rem;
padding: 0 2rem;
+ margin-top: 4rem;
overflow: hidden;
}
.footer-container {
- max-width: 1400px;
- margin: 0 auto;
position: relative;
z-index: 1;
+ max-width: 1400px;
+ margin: 0 auto;
}
.footer-main {
display: grid;
- grid-template-columns: 1.5fr 2.5fr;
- gap: 4rem;
padding: 4rem 0;
border-top: 1px solid var(--border-color);
+ gap: 4rem;
+ grid-template-columns: 1.5fr 2.5fr;
}
// Brand Section
@@ -139,8 +139,8 @@
.brand-desc {
font-size: 0.9rem;
- color: var(--font-color-light);
line-height: 1.7;
+ color: var(--font-color-light);
margin-bottom: 1.5rem;
}
@@ -150,20 +150,20 @@
a {
display: flex;
- align-items: center;
- justify-content: center;
width: 40px;
height: 40px;
- background: var(--bg-contrast);
border: 1px solid var(--border-color);
border-radius: 10px;
color: var(--font-color-light);
+ background: var(--bg-contrast);
transition: all 0.3s ease;
+ align-items: center;
+ justify-content: center;
&:hover {
- background: var(--primary);
border-color: var(--primary);
color: white;
+ background: var(--primary);
transform: translateY(-2px);
}
}
@@ -172,35 +172,35 @@
// Links Section
.footer-links {
display: grid;
- grid-template-columns: repeat(4, 1fr);
gap: 2rem;
+ grid-template-columns: repeat(4, 1fr);
}
.links-column {
h4 {
font-size: 0.85rem;
font-weight: 700;
- text-transform: uppercase;
+ color: var(--font-color);
letter-spacing: 0.5px;
margin-bottom: 1rem;
- color: var(--font-color);
+ text-transform: uppercase;
}
ul {
- list-style: none;
- padding: 0;
margin: 0;
+ padding: 0;
+ list-style: none;
li {
margin-bottom: 0.5rem;
}
a {
+ display: inline-block;
font-size: 0.9rem;
color: var(--font-color-light);
- text-decoration: none;
transition: all 0.2s ease;
- display: inline-block;
+ text-decoration: none;
&:hover {
color: var(--primary);
@@ -213,23 +213,23 @@
// Footer Bottom
.footer-bottom {
display: flex;
- align-items: center;
- justify-content: space-between;
padding: 1.5rem 0;
+ align-items: center;
border-top: 1px solid var(--border-color);
+ justify-content: space-between;
}
.footer-bottom-left {
display: flex;
- align-items: center;
- gap: 12px;
font-size: 0.85rem;
color: var(--font-color-light);
+ align-items: center;
+ gap: 12px;
a {
+ font-weight: 500;
color: var(--primary);
text-decoration: none;
- font-weight: 500;
&:hover {
text-decoration: underline;
@@ -248,26 +248,26 @@
.footer-bg {
position: absolute;
inset: 0;
- pointer-events: none;
overflow: hidden;
+ pointer-events: none;
}
.gradient-blur {
position: absolute;
bottom: -100px;
left: 50%;
- transform: translateX(-50%);
width: 800px;
height: 400px;
- background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1), transparent 70%);
+ background: radial-gradient(ellipse, rgb(99 102 241 / 10%), transparent 70%);
filter: blur(60px);
+ transform: translateX(-50%);
}
// Responsive
-@media screen and (max-width: 1024px) {
+@media screen and (width <= 1024px) {
.footer-main {
- grid-template-columns: 1fr;
gap: 3rem;
+ grid-template-columns: 1fr;
}
.footer-brand {
@@ -279,7 +279,7 @@
}
}
-@media screen and (max-width: 640px) {
+@media screen and (width <= 640px) {
.footer {
padding: 0 1rem;
}
@@ -289,14 +289,14 @@
}
.footer-links {
- grid-template-columns: 1fr 1fr;
gap: 1.5rem;
+ grid-template-columns: 1fr 1fr;
}
.footer-bottom {
+ text-align: center;
flex-direction: column;
gap: 1rem;
- text-align: center;
}
.footer-bottom-left {
diff --git a/frontend/app/pages/(public)/_components/BentoFeatures.vue b/frontend/app/pages/(public)/_components/BentoFeatures.vue
index 73e1eb44..41bb9955 100644
--- a/frontend/app/pages/(public)/_components/BentoFeatures.vue
+++ b/frontend/app/pages/(public)/_components/BentoFeatures.vue
@@ -231,44 +231,44 @@
}
.section-subtitle {
- font-size: 1.125rem;
- color: var(--font-color-light);
max-width: 500px;
margin: 0 auto;
+ font-size: 1.125rem;
+ color: var(--font-color-light);
}
.bento-grid {
display: grid;
+ gap: 1.25rem;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(3, auto);
- gap: 1.25rem;
}
.bento-card {
- background: var(--bg-color);
+ position: relative;
+ padding: 1.5rem;
border: 1px solid var(--border-color);
border-radius: 20px;
- padding: 1.5rem;
- overflow: hidden;
- position: relative;
+ background: var(--bg-color);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
+ overflow: hidden;
&:hover {
- transform: translateY(-4px);
- box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
border-color: var(--primary);
+ box-shadow: 0 20px 60px rgb(0 0 0 / 12%);
+ transform: translateY(-4px);
}
.card-icon {
+ display: flex;
width: 48px;
height: 48px;
- display: flex;
+ border-radius: 12px;
+ color: var(--primary);
+ background: var(--bg-contrast);
align-items: center;
justify-content: center;
- background: var(--bg-contrast);
- border-radius: 12px;
margin-bottom: 1rem;
- color: var(--primary);
}
h3 {
@@ -279,17 +279,17 @@
p {
font-size: 0.9rem;
- color: var(--font-color-light);
line-height: 1.6;
+ color: var(--font-color-light);
}
}
// Card Sizes
.card-large {
- grid-column: span 2;
- grid-row: span 2;
display: flex;
flex-direction: column;
+ grid-column: span 2;
+ grid-row: span 2;
}
.card-tall {
@@ -303,9 +303,9 @@
}
.card-small {
+ padding: 1.25rem;
grid-column: span 1;
grid-row: span 1;
- padding: 1.25rem;
.card-icon {
width: 40px;
@@ -324,11 +324,11 @@
}
.card-wide {
- grid-column: span 2;
- grid-row: span 1;
display: flex;
align-items: center;
gap: 2rem;
+ grid-column: span 2;
+ grid-row: span 1;
.card-content {
flex: 1;
@@ -340,30 +340,30 @@
background: linear-gradient(135deg, var(--bg-color), var(--bg-contrast));
.card-visual {
- flex: 1;
display: flex;
align-items: flex-end;
+ flex: 1;
}
.editor-preview {
width: 100%;
- background: var(--bg-color);
+ padding: 1rem;
border: 1px solid var(--border-color);
border-radius: 12px;
- padding: 1rem;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 13px;
line-height: 1.8;
+ background: var(--bg-color);
}
.editor-line {
- white-space: nowrap;
overflow: hidden;
+ white-space: nowrap;
}
.syntax-heading {
- color: var(--primary);
font-weight: 700;
+ color: var(--primary);
}
.syntax-text {
@@ -371,15 +371,15 @@
}
.syntax-bold {
- color: var(--purple);
font-weight: 700;
+ color: var(--purple);
}
.syntax-code {
- color: var(--green);
- background: var(--green-bg);
padding: 2px 6px;
border-radius: 4px;
+ color: var(--green);
+ background: var(--green-bg);
}
.syntax-link {
@@ -392,10 +392,10 @@
}
.cursor {
+ display: inline-block;
width: 2px;
height: 16px;
background: var(--primary);
- display: inline-block;
margin-left: 2px;
vertical-align: text-bottom;
}
@@ -414,11 +414,11 @@
.folder-item {
display: flex;
- align-items: center;
- gap: 8px;
padding: 6px 10px;
border-radius: 8px;
transition: background 0.2s;
+ align-items: center;
+ gap: 8px;
&:hover {
background: var(--bg-contrast);
@@ -457,8 +457,8 @@
img {
width: 32px;
height: 32px;
- border-radius: 50%;
border: 2px solid var(--bg-color);
+ border-radius: 50%;
margin-left: -8px;
&:first-child {
@@ -467,18 +467,18 @@
}
.avatar-more {
+ display: flex;
width: 32px;
height: 32px;
+ border: 2px solid var(--bg-color);
border-radius: 50%;
- background: var(--primary);
- color: white;
font-size: 11px;
font-weight: 600;
- display: flex;
+ color: white;
+ background: var(--primary);
align-items: center;
justify-content: center;
margin-left: -8px;
- border: 2px solid var(--bg-color);
}
}
@@ -495,29 +495,29 @@
}
.search-demo {
- background: var(--bg-contrast);
border: 1px solid var(--border-color);
border-radius: 12px;
+ background: var(--bg-contrast);
overflow: hidden;
}
.search-input {
display: flex;
- align-items: center;
- gap: 10px;
padding: 12px 14px;
- border-bottom: 1px solid var(--border-color);
font-size: 14px;
color: var(--font-color-light);
+ align-items: center;
+ border-bottom: 1px solid var(--border-color);
+ gap: 10px;
.kbd {
- margin-left: auto;
padding: 4px 8px;
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 6px;
font-size: 11px;
font-weight: 600;
+ background: var(--bg-color);
+ margin-left: auto;
}
}
@@ -527,12 +527,12 @@
.search-result {
display: flex;
- align-items: center;
- gap: 10px;
padding: 10px 12px;
border-radius: 8px;
- cursor: pointer;
transition: background 0.2s;
+ align-items: center;
+ cursor: pointer;
+ gap: 10px;
&:hover {
background: var(--bg-color);
@@ -548,8 +548,8 @@
}
.result-title {
- font-weight: 600;
font-size: 13px;
+ font-weight: 600;
}
.result-path {
@@ -568,40 +568,40 @@
.publish-preview {
display: flex;
- align-items: center;
- justify-content: space-between;
padding: 12px 14px;
- background: var(--bg-contrast);
border: 1px solid var(--border-color);
border-radius: 10px;
font-size: 13px;
+ background: var(--bg-contrast);
+ align-items: center;
+ justify-content: space-between;
}
.url-bar {
display: flex;
+ color: var(--font-color-light);
align-items: center;
gap: 6px;
- color: var(--font-color-light);
}
.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 {
- background: var(--green-bg);
color: var(--green);
+ background: var(--green-bg);
.dot {
width: 6px;
height: 6px;
- background: var(--green);
border-radius: 50%;
+ background: var(--green);
}
}
}
@@ -610,9 +610,10 @@
// Themes Card
.card-themes {
background: linear-gradient(135deg, var(--bg-contrast), var(--bg-color));
+
.card-icon {
- background: var(--purple-bg);
color: var(--purple);
+ background: var(--purple-bg);
}
}
@@ -621,23 +622,23 @@
background: linear-gradient(135deg, var(--bg-contrast), var(--bg-color));
.card-icon {
- background: var(--purple-bg);
color: var(--purple);
+ background: var(--purple-bg);
}
}
// Responsive
-@media screen and (max-width: 1200px) {
+@media screen and (width <= 1200px) {
.bento-grid {
grid-template-columns: repeat(2, 1fr);
}
.card-large {
- grid-column: span 2;
- grid-row: span 1;
- flex-direction: row;
align-items: center;
+ flex-direction: row;
gap: 2rem;
+ grid-column: span 2;
+ grid-row: span 1;
}
.card-tall {
@@ -650,7 +651,7 @@
}
}
-@media screen and (max-width: 768px) {
+@media screen and (width <= 768px) {
.bento-section {
padding: 4rem 1rem;
}
@@ -661,9 +662,9 @@
.card-large,
.card-wide {
- grid-column: span 1;
- flex-direction: column;
align-items: stretch;
+ flex-direction: column;
+ grid-column: span 1;
}
}
</style>
diff --git a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue b/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
index e01fdd26..caef8d98 100644
--- a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
+++ b/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
@@ -73,8 +73,8 @@ onMounted(fetchContributors);
}
p {
- color: var(--font-color-light);
font-size: 1rem;
+ color: var(--font-color-light);
}
}
@@ -92,20 +92,20 @@ onMounted(fetchContributors);
.contributor {
display: flex;
- align-items: center;
- gap: 12px;
padding: 12px 16px;
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 14px;
- text-decoration: none;
+ background: var(--bg-color);
transition: all 0.3s ease;
+ align-items: center;
flex-shrink: 0;
+ gap: 12px;
+ text-decoration: none;
&:hover {
border-color: var(--primary);
+ box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
transform: translateY(-4px);
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
img {
transform: scale(1.1);
@@ -122,12 +122,12 @@ onMounted(fetchContributors);
.contributor-info {
display: flex;
- flex-direction: column;
text-align: left;
+ flex-direction: column;
.name {
- font-weight: 600;
font-size: 0.9rem;
+ font-weight: 600;
color: var(--font-color);
}
@@ -143,17 +143,17 @@ onMounted(fetchContributors);
.cta-btn {
display: inline-flex;
- align-items: center;
- gap: 8px;
padding: 12px 24px;
- background: var(--bg-contrast);
border: 1px solid var(--border-color);
border-radius: 12px;
- font-weight: 600;
font-size: 14px;
+ font-weight: 600;
color: var(--font-color);
- text-decoration: none;
+ background: var(--bg-contrast);
transition: all 0.3s ease;
+ align-items: center;
+ gap: 8px;
+ text-decoration: none;
&:hover {
border-color: var(--primary);
@@ -162,7 +162,7 @@ onMounted(fetchContributors);
}
}
-@media screen and (max-width: 640px) {
+@media screen and (width <= 640px) {
.contributors {
padding: 2rem 1rem;
}
diff --git a/frontend/app/pages/(public)/_components/FeaturesShowcase.vue b/frontend/app/pages/(public)/_components/FeaturesShowcase.vue
index 479be192..b50fb7fa 100644
--- a/frontend/app/pages/(public)/_components/FeaturesShowcase.vue
+++ b/frontend/app/pages/(public)/_components/FeaturesShowcase.vue
@@ -123,39 +123,39 @@ onUnmounted(() => {
}
.section-subtitle {
- font-size: 1.125rem;
- color: var(--font-color-light);
max-width: 500px;
margin: 0 auto;
+ font-size: 1.125rem;
+ color: var(--font-color-light);
}
.showcase-container {
display: grid;
- grid-template-columns: 300px 1fr;
- gap: 3rem;
align-items: start;
+ gap: 3rem;
+ grid-template-columns: 300px 1fr;
}
.showcase-nav {
+ position: sticky;
+ top: 100px;
display: flex;
flex-direction: column;
gap: 0.5rem;
- position: sticky;
- top: 100px;
}
.nav-item {
+ position: relative;
display: flex;
- align-items: flex-start;
- gap: 1rem;
padding: 1.25rem;
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 16px;
text-align: left;
- cursor: pointer;
+ background: var(--bg-color);
transition: all 0.3s ease;
- position: relative;
+ align-items: flex-start;
+ cursor: pointer;
+ gap: 1rem;
overflow: hidden;
&:hover {
@@ -164,29 +164,29 @@ onUnmounted(() => {
}
&.active {
- background: var(--bg-contrast);
border-color: var(--primary);
- box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
+ background: var(--bg-contrast);
+ box-shadow: 0 10px 40px rgb(99 102 241 / 15%);
.nav-number {
- background: var(--primary);
color: white;
+ background: var(--primary);
}
}
}
.nav-number {
+ display: flex;
min-width: 32px;
height: 32px;
- display: flex;
- align-items: center;
- justify-content: center;
- background: var(--bg-contrast);
border-radius: 8px;
font-size: 12px;
font-weight: 700;
color: var(--font-color-light);
+ background: var(--bg-contrast);
transition: all 0.3s ease;
+ align-items: center;
+ justify-content: center;
}
.nav-content {
@@ -195,8 +195,8 @@ onUnmounted(() => {
.nav-title {
display: block;
- font-weight: 600;
font-size: 0.95rem;
+ font-weight: 600;
margin-bottom: 2px;
}
@@ -207,9 +207,9 @@ onUnmounted(() => {
.nav-progress {
position: absolute;
+ right: 0;
bottom: 0;
left: 0;
- right: 0;
height: 3px;
background: var(--border-color);
overflow: hidden;
@@ -222,8 +222,8 @@ onUnmounted(() => {
}
.showcase-display {
- height: 500px;
position: relative;
+ height: 500px;
}
.display-wrapper {
@@ -233,11 +233,11 @@ onUnmounted(() => {
.display-item {
position: absolute;
- inset: 0;
display: grid;
- grid-template-columns: 1fr 1.5fr;
- gap: 3rem;
align-items: center;
+ gap: 3rem;
+ grid-template-columns: 1fr 1.5fr;
+ inset: 0;
}
.display-content {
@@ -249,23 +249,23 @@ onUnmounted(() => {
p {
font-size: 1.1rem;
- color: var(--font-color-light);
line-height: 1.7;
+ color: var(--font-color-light);
margin-bottom: 1.5rem;
}
}
.feature-list {
- list-style: none;
- padding: 0;
margin: 0;
+ padding: 0;
+ list-style: none;
li {
display: flex;
- align-items: center;
- gap: 10px;
padding: 0.5rem 0;
font-size: 0.95rem;
+ align-items: center;
+ gap: 10px;
svg {
color: var(--green);
@@ -279,15 +279,15 @@ onUnmounted(() => {
}
.visual-frame {
- background: var(--bg-contrast);
border: 1px solid var(--border-color);
border-radius: 16px;
+ background: var(--bg-contrast);
+ box-shadow: 0 25px 80px rgb(0 0 0 / 10%);
overflow: hidden;
- box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
img {
- width: 100%;
display: block;
+ width: 100%;
}
}
@@ -302,17 +302,17 @@ onUnmounted(() => {
opacity: 0;
}
-@media screen and (max-width: 1024px) {
+@media screen and (width <= 1024px) {
.showcase-container {
- grid-template-columns: 1fr;
gap: 2rem;
+ grid-template-columns: 1fr;
}
.showcase-nav {
- flex-direction: row;
- overflow-x: auto;
position: static;
+ flex-direction: row;
gap: 0.75rem;
+ overflow-x: auto;
padding-bottom: 0.5rem;
&::-webkit-scrollbar {
@@ -320,8 +320,8 @@ onUnmounted(() => {
}
&::-webkit-scrollbar-thumb {
- background: var(--border-color);
border-radius: 4px;
+ background: var(--border-color);
}
}
@@ -335,9 +335,9 @@ onUnmounted(() => {
}
.showcase-display {
+ position: relative;
height: auto;
min-height: 600px;
- position: relative;
}
.display-wrapper {
@@ -347,13 +347,13 @@ onUnmounted(() => {
.display-item {
position: relative;
- inset: auto;
- grid-template-columns: 1fr;
gap: 2rem;
+ grid-template-columns: 1fr;
+ inset: auto;
}
}
-@media screen and (max-width: 640px) {
+@media screen and (width <= 640px) {
.showcase-section {
padding: 4rem 1rem;
}
diff --git a/frontend/app/pages/(public)/_components/FinalCTA.vue b/frontend/app/pages/(public)/_components/FinalCTA.vue
index a9e440f3..5ae5177a 100644
--- a/frontend/app/pages/(public)/_components/FinalCTA.vue
+++ b/frontend/app/pages/(public)/_components/FinalCTA.vue
@@ -101,8 +101,8 @@
max-width: 1000px;
margin: 0 auto;
padding: 5rem 3rem;
- background: linear-gradient(135deg, var(--primary), #6366f1, #8b5cf6);
border-radius: 32px;
+ background: linear-gradient(135deg, var(--primary), #6366f1, #8b5cf6);
overflow: hidden;
}
@@ -115,9 +115,9 @@
.grid-pattern {
position: absolute;
- inset: 0;
- background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
+ background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
background-size: 40px 40px;
+ inset: 0;
mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black, transparent);
}
@@ -132,7 +132,7 @@
right: -100px;
width: 400px;
height: 400px;
- background: rgba(255, 255, 255, 0.2);
+ background: rgb(255 255 255 / 20%);
}
.glow-2 {
@@ -140,29 +140,29 @@
left: -100px;
width: 300px;
height: 300px;
- background: rgba(236, 72, 153, 0.3);
+ background: rgb(236 72 153 / 30%);
}
// Content
.cta-content {
position: relative;
z-index: 1;
- text-align: center;
color: white;
+ text-align: center;
}
.cta-badge {
display: inline-flex;
- align-items: center;
- gap: 8px;
padding: 8px 16px;
- background: rgba(255, 255, 255, 0.15);
- border: 1px solid rgba(255, 255, 255, 0.2);
+ border: 1px solid rgb(255 255 255 / 20%);
border-radius: 100px;
font-size: 13px;
font-weight: 500;
- margin-bottom: 2rem;
+ background: rgb(255 255 255 / 15%);
+ align-items: center;
backdrop-filter: blur(10px);
+ gap: 8px;
+ margin-bottom: 2rem;
svg {
color: #fbbf24;
@@ -179,42 +179,42 @@
display: block;
background: linear-gradient(90deg, #fff, #e0e7ff, #fff);
background-clip: text;
- -webkit-background-clip: text;
+ background-clip: text;
-webkit-text-fill-color: transparent;
}
}
.cta-subtitle {
- font-size: 1.125rem;
- opacity: 0.9;
max-width: 500px;
margin: 0 auto 2rem;
+ font-size: 1.125rem;
line-height: 1.6;
+ opacity: 0.9;
}
.cta-actions {
display: flex;
- justify-content: center;
gap: 1rem;
+ justify-content: center;
margin-bottom: 2rem;
}
.btn-primary {
display: inline-flex;
- align-items: center;
- gap: 8px;
padding: 16px 28px;
- background: white;
- color: var(--primary);
- font-weight: 600;
- font-size: 15px;
border-radius: 12px;
- text-decoration: none;
+ font-size: 15px;
+ font-weight: 600;
+ color: var(--primary);
+ background: white;
transition: all 0.3s ease;
+ align-items: center;
+ gap: 8px;
+ text-decoration: none;
&:hover {
+ box-shadow: 0 10px 30px rgb(0 0 0 / 20%);
transform: translateY(-3px);
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
svg {
transform: translateX(4px);
@@ -228,38 +228,38 @@
.btn-secondary {
display: inline-flex;
- align-items: center;
- gap: 8px;
padding: 16px 28px;
- background: rgba(255, 255, 255, 0.15);
- border: 1px solid rgba(255, 255, 255, 0.3);
- color: white;
- font-weight: 600;
- font-size: 15px;
+ border: 1px solid rgb(255 255 255 / 30%);
border-radius: 12px;
- text-decoration: none;
+ font-size: 15px;
+ font-weight: 600;
+ color: white;
+ background: rgb(255 255 255 / 15%);
transition: all 0.3s ease;
+ align-items: center;
backdrop-filter: blur(10px);
+ gap: 8px;
+ text-decoration: none;
&:hover {
- background: rgba(255, 255, 255, 0.25);
+ background: rgb(255 255 255 / 25%);
transform: translateY(-3px);
}
}
.cta-features {
display: flex;
- justify-content: center;
- gap: 2rem;
flex-wrap: wrap;
+ gap: 2rem;
+ justify-content: center;
margin-bottom: 3rem;
.feature {
display: flex;
- align-items: center;
- gap: 6px;
font-size: 14px;
opacity: 0.9;
+ align-items: center;
+ gap: 6px;
svg {
color: #a5f3fc;
@@ -270,37 +270,37 @@
// Discord Banner
.discord-banner {
display: flex;
- align-items: center;
- gap: 1rem;
max-width: 500px;
margin: 0 auto;
padding: 1rem 1.5rem;
- background: rgba(88, 101, 242, 0.3);
- border: 1px solid rgba(88, 101, 242, 0.5);
+ 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;
width: 48px;
height: 48px;
- display: flex;
- align-items: center;
- justify-content: center;
- background: #5865f2;
border-radius: 12px;
+ background: #5865f2;
+ align-items: center;
flex-shrink: 0;
+ justify-content: center;
}
.discord-text {
- flex: 1;
text-align: left;
+ flex: 1;
}
.discord-title {
display: block;
- font-weight: 600;
font-size: 0.95rem;
+ font-weight: 600;
}
.discord-desc {
@@ -310,22 +310,22 @@
.discord-btn {
padding: 10px 18px;
- background: white;
- color: #5865f2;
- font-weight: 600;
- font-size: 13px;
border-radius: 10px;
- text-decoration: none;
+ font-size: 13px;
+ font-weight: 600;
+ color: #5865f2;
+ background: white;
transition: all 0.3s ease;
+ text-decoration: none;
white-space: nowrap;
&:hover {
+ box-shadow: 0 6px 20px rgb(0 0 0 / 15%);
transform: translateY(-2px);
- box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
}
-@media screen and (max-width: 768px) {
+@media screen and (width <= 768px) {
.final-cta {
padding: 1rem;
}
@@ -336,8 +336,8 @@
}
.cta-actions {
- flex-direction: column;
align-items: center;
+ flex-direction: column;
}
.cta-features {
@@ -345,8 +345,8 @@
}
.discord-banner {
- flex-direction: column;
text-align: center;
+ flex-direction: column;
}
.discord-text {
diff --git a/frontend/app/pages/(public)/_components/OpenSourceStats.vue b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
index 5a78d3e9..27d1f49a 100644
--- a/frontend/app/pages/(public)/_components/OpenSourceStats.vue
+++ b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
@@ -130,12 +130,12 @@ onMounted(() => {
<style scoped lang="scss">
.oss-stats {
display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 4rem;
- align-items: center;
max-width: 1200px;
margin: 6rem auto;
padding: 2rem;
+ align-items: center;
+ gap: 4rem;
+ grid-template-columns: 1fr 1fr;
}
.stats-visual {
@@ -144,52 +144,52 @@ onMounted(() => {
.visual-bg {
position: absolute;
- inset: 0;
- background: linear-gradient(135deg, var(--bg-contrast), var(--bg-color));
border-radius: 24px;
+ background: linear-gradient(135deg, var(--bg-contrast), var(--bg-color));
+ inset: 0;
overflow: hidden;
}
.code-lines {
position: absolute;
- inset: 0;
- padding: 2rem;
display: flex;
+ padding: 2rem;
flex-direction: column;
gap: 12px;
+ inset: 0;
}
.code-line {
- height: 12px;
width: var(--width);
- background: var(--border-color);
+ height: 12px;
border-radius: 6px;
+ background: var(--border-color);
opacity: 0.4;
}
.github-card {
position: relative;
+ margin: 2rem;
padding: 2rem;
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 20px;
- box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
- margin: 2rem;
+ background: var(--bg-color);
+ box-shadow: 0 25px 80px rgb(0 0 0 / 10%);
}
.card-header {
display: flex;
+ font-weight: 600;
align-items: center;
gap: 12px;
margin-bottom: 1rem;
- font-weight: 600;
}
.card-desc {
font-size: 0.9rem;
+ line-height: 1.6;
color: var(--font-color-light);
margin-bottom: 1.5rem;
- line-height: 1.6;
}
.card-stats {
@@ -199,10 +199,10 @@ onMounted(() => {
.mini-stat {
display: flex;
- align-items: center;
- gap: 6px;
font-size: 14px;
color: var(--font-color-light);
+ align-items: center;
+ gap: 6px;
svg {
color: var(--primary);
@@ -214,14 +214,14 @@ onMounted(() => {
.section-tag {
display: inline-block;
padding: 6px 14px;
- background: linear-gradient(135deg, #8b5cf6, #6366f1);
- color: white;
+ border-radius: 100px;
font-size: 12px;
font-weight: 600;
- text-transform: uppercase;
+ color: white;
+ background: linear-gradient(135deg, #8b5cf6, #6366f1);
letter-spacing: 1px;
- border-radius: 100px;
margin-bottom: 1rem;
+ text-transform: uppercase;
}
h2 {
@@ -233,30 +233,30 @@ onMounted(() => {
.subtitle {
font-size: 1.1rem;
- color: var(--font-color-light);
line-height: 1.7;
+ color: var(--font-color-light);
margin-bottom: 2rem;
}
}
.stats-grid {
display: grid;
- grid-template-columns: repeat(3, 1fr);
gap: 1rem;
+ grid-template-columns: repeat(3, 1fr);
margin-bottom: 2rem;
}
.stat {
padding: 1.25rem;
- background: var(--bg-contrast);
border: 1px solid var(--border-color);
border-radius: 16px;
text-align: center;
+ background: var(--bg-contrast);
transition: all 0.3s ease;
&:hover {
- transform: translateY(-4px);
border-color: var(--primary);
+ transform: translateY(-4px);
}
}
@@ -270,7 +270,7 @@ onMounted(() => {
font-weight: 800;
background: linear-gradient(135deg, var(--primary), #8b5cf6);
background-clip: text;
- -webkit-background-clip: text;
+ background-clip: text;
-webkit-text-fill-color: transparent;
}
@@ -288,30 +288,30 @@ onMounted(() => {
.btn {
display: inline-flex;
- align-items: center;
- gap: 8px;
padding: 12px 20px;
border: 1px solid var(--border-color);
border-radius: 12px;
- font-weight: 600;
font-size: 14px;
- text-decoration: none;
+ font-weight: 600;
transition: all 0.3s ease;
+ align-items: center;
+ gap: 8px;
+ text-decoration: none;
&.primary {
- background: var(--primary);
border-color: var(--primary);
color: white;
+ background: var(--primary);
&:hover {
+ box-shadow: 0 8px 20px rgb(99 102 241 / 30%);
transform: translateY(-2px);
- box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}
}
&.secondary {
- background: var(--bg-color);
color: var(--font-color);
+ background: var(--bg-color);
&:hover {
border-color: var(--primary);
@@ -320,8 +320,8 @@ onMounted(() => {
}
&.tertiary {
- background: var(--bg-contrast);
color: var(--font-color);
+ background: var(--bg-contrast);
&:hover {
border-color: var(--primary);
@@ -329,10 +329,10 @@ onMounted(() => {
}
}
-@media screen and (max-width: 968px) {
+@media screen and (width <= 968px) {
.oss-stats {
- grid-template-columns: 1fr;
gap: 2rem;
+ grid-template-columns: 1fr;
}
.stats-visual {
@@ -348,7 +348,7 @@ onMounted(() => {
}
}
-@media screen and (max-width: 640px) {
+@media screen and (width <= 640px) {
.oss-stats {
padding: 1rem;
}
diff --git a/frontend/app/pages/(public)/_components/SelfHostSteps.vue b/frontend/app/pages/(public)/_components/SelfHostSteps.vue
index f7199420..a4a64a21 100644
--- a/frontend/app/pages/(public)/_components/SelfHostSteps.vue
+++ b/frontend/app/pages/(public)/_components/SelfHostSteps.vue
@@ -139,9 +139,9 @@ h2 {
.steps-container {
display: grid;
- grid-template-columns: 1fr 1.2fr;
- gap: 3rem;
align-items: center;
+ gap: 3rem;
+ grid-template-columns: 1fr 1.2fr;
margin-bottom: 2rem;
}
@@ -154,9 +154,9 @@ h2 {
.step {
position: relative;
padding: 1.5rem;
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 16px;
+ background: var(--bg-color);
transition: all 0.3s ease;
&:hover {
@@ -177,8 +177,8 @@ h2 {
width: 32px;
height: 32px;
border-radius: 10px;
- font-weight: 700;
font-size: 14px;
+ font-weight: 700;
color: white;
background: var(--primary);
align-items: center;
@@ -186,9 +186,9 @@ h2 {
}
.step-header h3 {
+ margin: 0;
font-size: 1rem;
font-weight: 600;
- margin: 0;
}
.step-content p {
@@ -204,30 +204,30 @@ h2 {
}
.code {
- flex: 1;
padding: 10px 14px;
border: 1px solid var(--border-color);
border-radius: 10px;
font-family: $monospace-font;
font-size: 13px;
background: var(--bg-contrast);
+ flex: 1;
overflow: auto;
white-space: nowrap;
}
.copy {
display: flex;
- align-items: center;
- justify-content: center;
width: 36px;
height: 36px;
padding: 0;
border: 1px solid var(--border-color);
border-radius: 10px;
- background: var(--bg-color);
color: var(--font-color-light);
- cursor: pointer;
+ background: var(--bg-color);
transition: all 0.2s ease;
+ align-items: center;
+ cursor: pointer;
+ justify-content: center;
&:hover {
border-color: var(--primary);
@@ -244,19 +244,19 @@ h2 {
.terminal {
width: 100%;
max-width: 500px;
- background: #1e1e2e;
border-radius: 16px;
+ background: #1e1e2e;
+ box-shadow: 0 25px 80px rgb(0 0 0 / 20%);
overflow: hidden;
- box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}
.terminal-header {
display: flex;
- align-items: center;
- gap: 1rem;
padding: 12px 16px;
background: #181825;
+ align-items: center;
border-bottom: 1px solid #313244;
+ gap: 1rem;
}
.terminal-dots {
@@ -271,9 +271,11 @@ h2 {
&:nth-child(1) {
background: #f38ba8;
}
+
&:nth-child(2) {
background: #f9e2af;
}
+
&:nth-child(3) {
background: #a6e3a1;
}
@@ -294,8 +296,8 @@ h2 {
.terminal-line {
display: flex;
- gap: 8px;
color: #cdd6f4;
+ gap: 8px;
&.output {
color: #6c7086;
@@ -341,12 +343,12 @@ h2 {
padding: 8px 14px;
border: 1px solid var(--border-color);
border-radius: 999px;
- font-weight: 500;
font-size: 13px;
+ font-weight: 500;
background: var(--bg-color);
+ transition: all 0.2s ease;
align-items: center;
gap: 8px;
- transition: all 0.2s ease;
&:hover {
border-color: var(--primary);
@@ -359,7 +361,7 @@ h2 {
fill: var(--green);
}
-@media screen and (max-width: 968px) {
+@media screen and (width <= 968px) {
.steps-container {
grid-template-columns: 1fr;
}
@@ -369,7 +371,7 @@ h2 {
}
}
-@media screen and (max-width: 640px) {
+@media screen and (width <= 640px) {
.self-host {
padding: 1rem;
}
diff --git a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
index f02a3b39..09e0b775 100644
--- a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
+++ b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
@@ -94,11 +94,11 @@ const faqs = [
}
h2 {
+ border: none;
font-size: clamp(2rem, 4vw, 2.5rem);
font-weight: 800;
letter-spacing: -0.02em;
margin-bottom: 0.5rem;
- border: none;
}
.subtitle {
@@ -108,9 +108,9 @@ h2 {
.faq-container {
display: grid;
- grid-template-columns: 1.5fr 1fr;
- gap: 3rem;
align-items: start;
+ gap: 3rem;
+ grid-template-columns: 1.5fr 1fr;
}
.faq-list {
@@ -120,11 +120,11 @@ h2 {
}
.faq-item {
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 16px;
- overflow: hidden;
+ background: var(--bg-color);
transition: all 0.3s ease;
+ overflow: hidden;
&:hover {
border-color: var(--primary);
@@ -132,55 +132,55 @@ h2 {
&.open {
border-color: var(--primary);
- box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
+ box-shadow: 0 10px 40px rgb(99 102 241 / 10%);
}
}
.faq-question {
- width: 100%;
display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 1rem;
+ width: 100%;
padding: 1.25rem 1.5rem;
- background: none;
border: none;
- cursor: pointer;
- text-align: left;
font-size: 1rem;
font-weight: 600;
color: var(--font-color);
+ text-align: left;
+ background: none;
transition: all 0.2s ease;
+ align-items: center;
+ cursor: pointer;
+ gap: 1rem;
+ justify-content: space-between;
}
.question-icon {
display: flex;
- align-items: center;
- justify-content: center;
width: 28px;
height: 28px;
- background: var(--bg-contrast);
border-radius: 8px;
color: var(--primary);
- flex-shrink: 0;
+ background: var(--bg-contrast);
transition: all 0.3s ease;
+ align-items: center;
+ flex-shrink: 0;
+ justify-content: center;
.open & {
- background: var(--primary);
color: white;
+ background: var(--primary);
}
}
.faq-answer {
max-height: 0;
- overflow: hidden;
transition: max-height 0.3s ease;
+ overflow: hidden;
p {
padding: 0 1.5rem 1.25rem;
- color: var(--font-color-light);
- line-height: 1.7;
font-size: 0.95rem;
+ line-height: 1.7;
+ color: var(--font-color-light);
}
}
@@ -192,10 +192,10 @@ h2 {
.cta-content {
padding: 2.5rem 2rem;
- background: linear-gradient(135deg, var(--bg-contrast), var(--bg-color));
border: 1px solid var(--border-color);
border-radius: 24px;
text-align: center;
+ background: linear-gradient(135deg, var(--bg-contrast), var(--bg-color));
}
.cta-icon {
@@ -217,24 +217,24 @@ h2 {
.cta-btn {
display: inline-flex;
- align-items: center;
- gap: 8px;
padding: 12px 24px;
- background: #5865f2;
- color: white;
- font-weight: 600;
- font-size: 14px;
border-radius: 12px;
- text-decoration: none;
+ font-size: 14px;
+ font-weight: 600;
+ color: white;
+ background: #5865f2;
transition: all 0.3s ease;
+ align-items: center;
+ gap: 8px;
+ text-decoration: none;
&:hover {
+ box-shadow: 0 8px 20px rgb(88 101 242 / 30%);
transform: translateY(-2px);
- box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
}
}
-@media screen and (max-width: 968px) {
+@media screen and (width <= 968px) {
.faq-container {
grid-template-columns: 1fr;
}
@@ -244,7 +244,7 @@ h2 {
}
}
-@media screen and (max-width: 640px) {
+@media screen and (width <= 640px) {
.faq {
padding: 1rem;
}
diff --git a/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue b/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue
index c05b3e2a..ab480847 100644
--- a/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue
+++ b/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue
@@ -102,24 +102,24 @@ onMounted(() => {
<style scoped lang="scss">
section {
- padding: 2rem;
position: relative;
+ padding: 2rem;
}
.section-title {
- text-align: center;
font-size: clamp(1.5rem, 2.5vw + 1rem, 2.5rem);
font-weight: 800;
color: var(--font-color-dark);
+ text-align: center;
margin-bottom: 1rem;
}
.section-subtitle {
- text-align: center;
max-width: 600px;
margin: 0 auto 4rem;
- color: var(--font-color-light);
line-height: 1.6;
+ color: var(--font-color-light);
+ text-align: center;
}
.timeline {
@@ -134,20 +134,20 @@ section {
left: 50%;
width: 3px;
height: 100%;
- background: var(--primary);
- transform: translateX(-50%);
border-radius: 3px;
+ background: var(--primary);
opacity: 0.3;
+ transform: translateX(-50%);
}
.timeline-item {
+ position: relative;
display: flex;
+ opacity: 0;
+ transition: all 0.8s ease;
align-items: center;
margin-bottom: 5rem;
- position: relative;
- opacity: 0;
transform: translateY(40px);
- transition: all 0.8s ease;
&.visible {
opacity: 1;
@@ -160,14 +160,14 @@ section {
.timeline-content {
display: flex;
+ width: 100%;
align-items: center;
- justify-content: space-between;
gap: clamp(1rem, 4vw, 3rem);
- width: 100%;
+ justify-content: space-between;
.text {
- flex: 1;
padding: 0.5rem;
+ flex: 1;
h3 {
font-size: clamp(1.1rem, 1.6vw + 0.75rem, 1.5rem);
@@ -176,29 +176,29 @@ section {
}
p {
- color: #444;
line-height: 1.7;
+ color: #444;
}
}
.illustration {
- flex: 1;
display: flex;
+ flex: 1;
justify-content: center;
img {
width: 100%;
max-width: 680px;
- border-radius: 16px;
border: 1px solid #e5e7eb;
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
+ border-radius: 16px;
background: white;
+ box-shadow: 0 10px 30px rgb(0 0 0 / 7%);
transition: transform 0.5s ease, box-shadow 0.5s ease;
cursor: zoom-in;
&:hover {
+ box-shadow: 0 14px 40px rgb(0 0 0 / 10%);
transform: translateY(-5px);
- box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}
}
}
@@ -217,32 +217,32 @@ section {
/* Lightbox */
.lightbox {
position: fixed;
- inset: 0;
- background: rgba(0, 0, 0, 0.85);
+ z-index: 2000;
display: flex;
+ background: rgb(0 0 0 / 85%);
align-items: center;
- justify-content: center;
- z-index: 2000;
animation: fadeIn 0.25s ease;
+ inset: 0;
+ justify-content: center;
.lightbox-content {
position: relative;
max-width: min(1100px, 92vw);
max-height: 85vh;
border-radius: 12px;
- overflow: hidden;
animation: zoomIn 0.25s ease;
+ overflow: hidden;
img {
+ display: block;
width: 100%;
height: auto;
- display: block;
object-fit: contain;
}
.caption {
- color: #f0f0f0;
font-size: 1rem;
+ color: #f0f0f0;
text-align: center;
margin-top: 1rem;
}
@@ -251,13 +251,13 @@ section {
position: absolute;
top: 10px;
right: 15px;
- background: transparent;
- color: white;
- font-size: 2rem;
border: none;
- cursor: pointer;
- transition: transform 0.2s ease;
+ font-size: 2rem;
line-height: 1;
+ color: white;
+ background: transparent;
+ transition: transform 0.2s ease;
+ cursor: pointer;
&:hover {
transform: scale(1.2);
@@ -270,6 +270,7 @@ section {
from {
opacity: 0;
}
+
to {
opacity: 1;
}
@@ -277,16 +278,17 @@ section {
@keyframes zoomIn {
from {
- transform: scale(0.95);
opacity: 0.8;
+ transform: scale(0.95);
}
+
to {
- transform: scale(1);
opacity: 1;
+ transform: scale(1);
}
}
-@media (max-width: 1024px) {
+@media (width <= 1024px) {
.timeline {
.timeline-item {
margin-bottom: 3.5rem;
@@ -294,7 +296,7 @@ section {
}
}
-@media (max-width: 900px) {
+@media (width <= 900px) {
.timeline {
.timeline-line {
left: 12px;
@@ -302,8 +304,8 @@ section {
.timeline-item,
.timeline-content {
- flex-direction: column !important;
align-items: flex-start;
+ flex-direction: column !important;
.timeline-content {
flex-direction: column;
@@ -321,17 +323,21 @@ section {
}
}
-@media (max-width: 640px) {
+@media (width <= 640px) {
.timeline {
padding: 1.25rem 0;
+
.timeline-line {
display: none;
}
+
.timeline-item {
margin-bottom: 2rem;
padding-left: 0;
+
.timeline-content {
gap: 0.75rem;
+
.text {
h3 {
margin-bottom: 0.5rem;
@@ -342,18 +348,18 @@ section {
}
}
-@media (max-width: 400px) {
+@media (width <= 400px) {
.section-subtitle {
- margin-bottom: 2rem;
padding: 0 0.25rem;
+ margin-bottom: 2rem;
}
}
@media (prefers-reduced-motion: reduce) {
.timeline .timeline-item {
+ opacity: 1;
transition: none;
transform: none;
- opacity: 1;
}
}
</style>
diff --git a/frontend/app/pages/(public)/about.vue b/frontend/app/pages/(public)/about.vue
index 7d6f8c38..1f8760fa 100644
--- a/frontend/app/pages/(public)/about.vue
+++ b/frontend/app/pages/(public)/about.vue
@@ -192,9 +192,9 @@ main {
}
.about-section.alt {
- background: rgb(255 255 255 / 2%);
padding: 3rem 2rem;
border-radius: 1rem;
+ background: rgb(255 255 255 / 2%);
}
.section-title {
@@ -204,28 +204,28 @@ main {
}
.section-text {
+ font-size: 1.05rem;
line-height: 1.7;
color: var(--text-secondary);
- font-size: 1.05rem;
}
.feature-list {
- list-style: none;
- margin-top: 2rem;
padding: 0;
text-align: left;
+ list-style: none;
+ margin-top: 2rem;
}
.feature-list li {
- margin-bottom: 0.8rem;
line-height: 1.6;
+ margin-bottom: 0.8rem;
}
.demo-gallery {
display: flex;
- justify-content: center;
flex-wrap: wrap;
gap: 1.5rem;
+ justify-content: center;
margin-top: 2rem;
}
diff --git a/frontend/app/pages/(public)/login/index.vue b/frontend/app/pages/(public)/login/index.vue
index 4bb15e43..c893ccd6 100644
--- a/frontend/app/pages/(public)/login/index.vue
+++ b/frontend/app/pages/(public)/login/index.vue
@@ -69,8 +69,8 @@ async function connect(username: string, password: string) {
</script>
<style scoped lang="scss">
.container {
- width: 95%;
display: flex;
+ width: 95%;
margin: 0 auto;
flex-direction: column;
justify-content: space-between;
diff --git a/frontend/app/pages/dashboard/cdn/index.vue b/frontend/app/pages/dashboard/cdn/index.vue
index 64b55857..e2e13bda 100644
--- a/frontend/app/pages/dashboard/cdn/index.vue
+++ b/frontend/app/pages/dashboard/cdn/index.vue
@@ -182,8 +182,8 @@ const bulkDelete = async (lines: Field[]) => {
.storage-indicator {
display: flex;
width: 100%;
- padding: 12px 16px;
margin: 12px 0;
+ padding: 12px 16px;
border-radius: 8px;
background: var(--bg-color-secondary);
align-items: center;
@@ -243,12 +243,13 @@ const bulkDelete = async (lines: Field[]) => {
display: flex;
align-items: center;
}
+
.upload-progress {
display: flex;
- align-items: center;
- gap: 10px;
font-size: 14px;
color: var(--font-color-light);
+ align-items: center;
+ gap: 10px;
}
.link-section {
@@ -263,13 +264,14 @@ const bulkDelete = async (lines: Field[]) => {
padding: 10px;
border: 1px solid var(--border-color);
border-radius: 6px;
- background: var(--bg-color-secondary);
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
color: var(--font-color-dark);
+ background: var(--bg-color-secondary);
white-space: pre-wrap;
word-break: break-all;
}
+
.links-actions {
display: flex;
gap: 10px;
diff --git a/frontend/app/pages/dashboard/docs/_components/DocumentCardFooter.vue b/frontend/app/pages/dashboard/docs/_components/DocumentCardFooter.vue
index 50f2bc2b..df773e76 100644
--- a/frontend/app/pages/dashboard/docs/_components/DocumentCardFooter.vue
+++ b/frontend/app/pages/dashboard/docs/_components/DocumentCardFooter.vue
@@ -34,17 +34,18 @@ defineProps<{ document?: Node; next?: Node; previous?: Node }>();
footer {
margin: 50px 0 40px;
}
+
.edit-link {
display: flex;
- align-items: center;
- gap: 6px;
padding: 8px 14px;
border-radius: 8px;
- background: var(--bg-ui);
- color: var(--font-color);
font-size: 13px;
font-weight: 450;
+ color: var(--font-color);
+ background: var(--bg-ui);
transition: all 0.2s ease;
+ align-items: center;
+ gap: 6px;
:deep(svg) {
width: 16px;
@@ -53,14 +54,15 @@ footer {
}
&:hover {
- background: var(--primary-bg);
color: var(--primary);
+ background: var(--primary-bg);
:deep(svg) {
fill: var(--primary);
}
}
}
+
.footer-meta {
display: flex;
align-items: center;
@@ -73,10 +75,10 @@ b {
.meta-item {
display: flex;
- align-items: center;
- gap: 6px;
font-size: 13px;
color: var(--font-color-light);
+ align-items: center;
+ gap: 6px;
:deep(svg) {
width: 14px;
@@ -84,6 +86,7 @@ b {
fill: var(--font-color-light);
}
}
+
.items {
display: flex;
flex-wrap: wrap;
@@ -135,8 +138,8 @@ svg {
.infos {
display: flex;
- font-weight: 450;
padding: 10px 0;
+ font-weight: 450;
align-items: center;
border-bottom: 1px solid var(--border-color);
justify-content: space-between;
diff --git a/frontend/app/pages/dashboard/docs/_components/DocumentCardHeader.vue b/frontend/app/pages/dashboard/docs/_components/DocumentCardHeader.vue
index 075f915c..5b678c2e 100644
--- a/frontend/app/pages/dashboard/docs/_components/DocumentCardHeader.vue
+++ b/frontend/app/pages/dashboard/docs/_components/DocumentCardHeader.vue
@@ -46,9 +46,9 @@ watchEffect(() => {
.header {
display: flex;
padding: 1rem 1.2rem;
+ border: 1px solid var(--border-color-light);
border-radius: 0.625rem;
background-color: var(--bg-contrast);
- border: 1px solid var(--border-color-light);
transition: background-color $transition-duration;
}
@@ -83,11 +83,13 @@ p {
font-weight: 550;
color: var(--font-color-dark);
}
+
.description {
font-size: 14px;
color: var(--font-color-light);
margin-bottom: 8px;
}
+
.category {
display: block;
font-size: 18px;
@@ -119,8 +121,8 @@ p {
@media print {
.print-style {
- border: none;
padding: 0;
+ border: none;
background: none;
align-items: center;
diff --git a/frontend/app/pages/dashboard/home.vue b/frontend/app/pages/dashboard/home.vue
index d7e73d39..e2633d50 100644
--- a/frontend/app/pages/dashboard/home.vue
+++ b/frontend/app/pages/dashboard/home.vue
@@ -247,11 +247,11 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
// Header
.home-header {
display: flex;
- justify-content: space-between;
align-items: flex-start;
- margin-bottom: 2rem;
flex-wrap: wrap;
gap: 1rem;
+ justify-content: space-between;
+ margin-bottom: 2rem;
}
.greeting h1 {
@@ -261,8 +261,8 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
}
.subtitle {
- color: var(--font-color-light);
font-size: 0.9rem;
+ color: var(--font-color-light);
}
.quick-actions {
@@ -278,12 +278,12 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
.search-wrapper {
display: flex;
- align-items: center;
padding: 0.75rem 1rem;
border: 2px solid var(--border-color);
border-radius: 12px;
background: var(--bg-color);
transition: all 0.2s;
+ align-items: center;
&.focused {
border-color: var(--primary);
@@ -297,11 +297,11 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
}
.search-input {
- flex: 1;
border: none;
- background: transparent;
font-size: 1rem;
color: var(--font-color);
+ background: transparent;
+ flex: 1;
outline: none;
&::placeholder {
@@ -310,9 +310,9 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
}
.search-clear {
- cursor: pointer;
padding: 0.25rem;
border-radius: 4px;
+ cursor: pointer;
&:hover {
background: var(--bg-contrast);
@@ -322,27 +322,28 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
.search-results {
position: absolute;
top: calc(100% + 8px);
- left: 0;
right: 0;
+ left: 0;
+ z-index: 100;
+ max-height: 400px;
padding: 2px;
- background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 12px;
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
- z-index: 100;
- max-height: 400px;
+ background: var(--bg-color);
+ box-shadow: 0 8px 32px rgb(0 0 0 / 12%);
overflow-y: auto;
}
.search-result {
display: flex;
- align-items: center;
padding: 0.75rem 1rem;
- gap: 0.75rem;
- text-decoration: none;
+ border-radius: 8px;
color: var(--font-color);
transition: background 0.15s;
- border-radius: 8px;
+ align-items: center;
+ gap: 0.75rem;
+ text-decoration: none;
+
&:hover {
background: var(--bg-contrast);
}
@@ -363,16 +364,16 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
}
.result-content {
- flex: 1;
min-width: 0;
+ flex: 1;
}
.result-name {
display: block;
font-weight: 500;
- white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
}
.result-path {
@@ -382,11 +383,11 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
}
.result-type {
+ padding: 0.2rem 0.5rem;
+ border-radius: 4px;
font-size: 0.75rem;
color: var(--font-color-light);
- padding: 0.2rem 0.5rem;
background: var(--bg-contrast);
- border-radius: 4px;
}
// Sections
@@ -396,16 +397,16 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
.section-header {
display: flex;
- justify-content: space-between;
align-items: center;
+ justify-content: space-between;
margin-bottom: 1rem;
h2 {
display: flex;
- align-items: center;
- gap: 0.5rem;
font-size: 1.1rem;
+ align-items: center;
flex: 1;
+ gap: 0.5rem;
}
}
@@ -422,42 +423,43 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
// Continue working cards
.continue-working {
display: grid;
- grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1rem;
+ grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
// Pinned
.pinned-grid {
display: grid;
- grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1rem;
+ grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
// Workspaces
.workspaces-grid {
display: grid;
- grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1rem;
+ grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.add-workspace {
display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
+ min-height: 150px;
border: 2px dashed var(--border-color);
- transition: all 0.2s;
border-radius: 12px;
- background: transparent;
- cursor: pointer;
- min-height: 150px;
font-size: 0.9rem;
color: var(--font-color-light);
+ background: transparent;
+ transition: all 0.2s;
+ align-items: center;
+ cursor: pointer;
+ flex-direction: column;
+ justify-content: center;
+
&:hover {
- transform: translateY(-2px);
- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
border-color: var(--primary);
background: var(--primary-bg);
+ box-shadow: 0 4px 16px rgb(0 0 0 / 10%);
+ transform: translateY(-2px);
}
}
@@ -483,21 +485,21 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
.activity-items {
display: flex;
+ border-left: 2px solid var(--border-color);
flex-direction: column;
gap: 0.25rem;
padding-left: 1rem;
- border-left: 2px solid var(--border-color);
}
.activity-item {
display: flex;
- align-items: center;
- gap: 0.75rem;
padding: 0.5rem;
border-radius: 8px;
- text-decoration: none;
color: var(--font-color);
transition: background 0.15s;
+ align-items: center;
+ gap: 0.75rem;
+ text-decoration: none;
&:hover {
background: var(--bg-contrast);
@@ -510,10 +512,10 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
}
.activity-content {
- flex: 1;
display: flex;
- justify-content: space-between;
align-items: center;
+ flex: 1;
+ justify-content: space-between;
}
.activity-name {
@@ -528,24 +530,24 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
// Stats
.stats-section {
display: grid;
- grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 1rem;
+ grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stat-card {
display: flex;
- align-items: center;
- gap: 1rem;
padding: 1.25rem;
border: 1px solid var(--border-color);
border-radius: 12px;
background: var(--bg-color);
+ align-items: center;
+ gap: 1rem;
}
.stat-icon {
padding: 0.4rem;
- background: var(--primary-bg);
border-radius: 8px;
+ background: var(--primary-bg);
}
.stat-content {
@@ -576,7 +578,7 @@ const openCreateWorkspace = () => useModal().add(new Modal(shallowRef(CreateCate
}
// Responsive
-@media (max-width: 768px) {
+@media (width <= 768px) {
.home-container {
padding: 1rem;
}
diff --git a/frontend/app/pages/dashboard/settings/_views/preferences.vue b/frontend/app/pages/dashboard/settings/_views/preferences.vue
index 3e3d18bd..56d7ad48 100644
--- a/frontend/app/pages/dashboard/settings/_views/preferences.vue
+++ b/frontend/app/pages/dashboard/settings/_views/preferences.vue
@@ -271,9 +271,9 @@ const options: Array<{ label: string; options: InterfaceOption[] }> = [
.form-group {
display: flex;
width: 100%;
+ align-items: flex-start;
gap: 1rem;
justify-content: space-between;
- align-items: flex-start;
margin-bottom: 1rem;
}
@@ -283,9 +283,9 @@ label {
}
.description {
- margin-top: 0.25rem;
- color: var(--font-color-light);
font-size: 0.9rem;
+ color: var(--font-color-light);
+ margin-top: 0.25rem;
}
h3 {
diff --git a/frontend/app/pages/dashboard/settings/_views/snippets.vue b/frontend/app/pages/dashboard/settings/_views/snippets.vue
index 6ebf34c1..34060c53 100644
--- a/frontend/app/pages/dashboard/settings/_views/snippets.vue
+++ b/frontend/app/pages/dashboard/settings/_views/snippets.vue
@@ -375,8 +375,8 @@ watch(searchQuery, () => {
// Snippets container
.snippets-container {
min-height: 200px;
- background-color: var(--bg-ui);
border-radius: 12px;
+ background-color: var(--bg-ui);
}
.no-snippets {
diff --git a/frontend/app/pages/dashboard/settings/index.vue b/frontend/app/pages/dashboard/settings/index.vue
index 8a459bbe..9256b1a6 100644
--- a/frontend/app/pages/dashboard/settings/index.vue
+++ b/frontend/app/pages/dashboard/settings/index.vue
@@ -80,12 +80,14 @@ const close = () => emit('close');
width: 100%;
height: 100%;
background-color: var(--bg-color);
+
nav {
+ width: 270px;
padding: 1rem;
border-right: 1px solid var(--border-color);
gap: 1rem;
overflow-y: auto;
- width: 270px;
+
span {
font-size: 0.9rem;
font-weight: 500;
diff --git a/frontend/app/styles/code.scss b/frontend/app/styles/code.scss
index 71a48f25..2188d7b9 100644
--- a/frontend/app/styles/code.scss
+++ b/frontend/app/styles/code.scss
@@ -13,18 +13,18 @@ code {
padding: 3px 6px;
border-radius: 5px;
color: var(--font-color);
- background: rgba(255, 255, 255, 0.06);
+ background: rgb(255 255 255 / 6%);
}
/* Block code */
pre code.hljs {
display: block;
+ padding: 1em;
font-family: 'JetBrains Mono', monospace;
font-size: 14px;
- overflow-x: auto;
- padding: 1em;
- background: #292d3e;
color: #abb2bf;
+ background: #292d3e;
+ overflow-x: auto;
}
/* Base */
@@ -58,6 +58,7 @@ pre code.hljs {
.hljs-selector-id,
.hljs-type {
color: #56b6c2;
+
/* turquoise élégant */
}
diff --git a/frontend/app/styles/main.scss b/frontend/app/styles/main.scss
index 99f34131..140a065a 100644
--- a/frontend/app/styles/main.scss
+++ b/frontend/app/styles/main.scss
@@ -68,9 +68,9 @@ body.modal-open {
overflow: hidden;
touch-action: none;
user-select: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
+ user-select: none;
+ user-select: none;
+ user-select: none;
}
:root {
@@ -97,7 +97,6 @@ form {
}
@media print {
-
header,
footer,
nav,
diff --git a/frontend/app/styles/markdown.scss b/frontend/app/styles/markdown.scss
index 78fd3d9c..1b766ca1 100644
--- a/frontend/app/styles/markdown.scss
+++ b/frontend/app/styles/markdown.scss
@@ -335,15 +335,14 @@
position: absolute;
top: 22px;
right: 14px;
- padding: 4px;
display: flex;
- align-items: center;
- justify-content: center;
-
- fill: #e3e4e6;
- cursor: pointer;
+ padding: 4px;
opacity: 0;
transition: opacity .15s ease, background-color .15s ease, border-color .15s ease;
+ align-items: center;
+ cursor: pointer;
+ fill: #e3e4e6;
+ justify-content: center;
}
.code-block-wrapper:hover .code-copy-btn {
@@ -360,10 +359,10 @@
// *************** CARDS BLOCKS **************** //
.block {
+ display: flex;
margin: 0.5rem 0;
padding: 0.5rem;
border: 1px solid var(--border-color);
- display: flex;
flex-direction: column;
}
@@ -382,11 +381,11 @@
padding-top: 0;
.block-title {
- margin: 0 -0.5rem 0 -0.5rem;
+ margin: 0 -0.5rem;
+ padding: .5rem 1rem;
+ font-weight: 600;
background: var(--bg-contrast);
border-bottom: 1px solid var(--border-color);
- font-weight: 600;
- padding: .5rem 1rem;
}
}
@@ -400,7 +399,7 @@
}
.shadow {
- box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
+ box-shadow: 0 4px 16px rgb(0 0 0 / 10%);
}
.bordered {
diff --git a/frontend/app/styles/theme.scss b/frontend/app/styles/theme.scss
index 9cb94374..1b4502d4 100644
--- a/frontend/app/styles/theme.scss
+++ b/frontend/app/styles/theme.scss
@@ -129,8 +129,8 @@ input {
}
input[type="radio"]:focus {
- outline: none;
box-shadow: none;
+ outline: none;
}
input:-webkit-autofill,