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.

Remove old css

Smaug6739be3ab9d68867
diff --git a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
index 4f0094db..6383aea3 100644
--- a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
+++ b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
@@ -116,9 +116,7 @@ const props = defineProps<{
selectedIndex: number;
}>();
-defineEmits<{
- updateSelectedIndex: [index: number];
-}>();
+defineEmits<{ updateSelectedIndex: [index: number] }>();
const dateFrom = ref('');
const dateTo = ref('');
@@ -461,20 +459,6 @@ defineExpose({ flattenedItems });
}
}
-.category-select {
- width: 100%;
- padding: 8px 12px;
- border: 1px solid var(--border-color);
- border-radius: 6px;
- font-size: 14px;
- background: var(--bg-color);
- outline: none;
-
- &:focus {
- border-color: var(--primary);
- }
-}
-
.filter-actions {
display: flex;
gap: 12px;
@@ -518,88 +502,6 @@ defineExpose({ flattenedItems });
overscroll-behavior: contain;
}
-.no-results {
- display: flex;
- padding: 40px 20px;
- text-align: center;
- align-items: center;
- gap: 5px;
- justify-content: center;
-
- .no-results-icon {
- opacity: 0.5;
- }
-
- p {
- margin: 0;
- font-size: 14px;
- }
-}
-
-.search-results-list {
- max-height: 100%;
- padding: 8px 0;
- overflow-y: auto;
-}
-
-.document-item {
- display: flex;
- margin: 0 5px;
- padding: 12px 20px;
- border-radius: 8px;
- align-items: center;
- cursor: pointer;
- gap: 12px;
-
- &:hover {
- background: var(--border-color);
- }
-}
-
-.document-icon {
- width: 20px;
- height: 20px;
- color: var(--primary);
- flex-shrink: 0;
-}
-
-.document-info {
- min-width: 0;
- flex: 1;
-}
-
-.document-title {
- font-weight: 600;
- margin-bottom: 4px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.document-meta {
- display: flex;
- font-size: 12px;
- gap: 12px;
- margin-bottom: 6px;
-}
-
-.document-category {
- padding: 2px 6px;
- border-radius: 4px;
- font-size: 11px;
- background: var(--border-color);
-}
-
-.document-date {
- font-family: monospace;
-}
-
-.document-tags {
- display: flex;
- flex-wrap: wrap;
- gap: 4px;
-}
-
.tag {
padding: 2px 6px;
border-radius: 4px;
diff --git a/frontend/app/components/CommandCenter/QuickSearchTab.vue b/frontend/app/components/CommandCenter/QuickSearchTab.vue
index c57c77d2..d1f0023c 100644
--- a/frontend/app/components/CommandCenter/QuickSearchTab.vue
+++ b/frontend/app/components/CommandCenter/QuickSearchTab.vue
@@ -117,103 +117,4 @@ defineExpose({ flattenedItems });
flex-direction: column;
overflow: hidden;
}
-
-.search-results {
- position: relative;
- min-height: 0;
- flex: 1;
- -webkit-overflow-scrolling: touch;
- overflow-y: auto;
- overscroll-behavior: contain;
-}
-
-.search-results-list {
- max-height: 100%;
- padding: 8px 0;
- overflow-y: auto;
-}
-
-.search-result-item {
- display: flex;
- margin: 0 5px;
- padding: 8px 20px;
- border-radius: 8px;
- color: inherit;
- align-items: center;
- cursor: pointer;
- gap: 10px;
- text-decoration: none;
-
- &:hover,
- &.selected {
- background: var(--border-color);
- }
-}
-
-.result-icon {
- width: 20px;
- height: 20px;
- color: var(--primary);
- flex-shrink: 0;
-}
-
-.result-content {
- display: flex;
- min-width: 0;
- flex: 1;
- flex-direction: column;
- gap: 4px;
-}
-
-.result-title {
- font-weight: 600;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.result-description {
- font-size: 13px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.navigate-icon {
- width: 16px;
- height: 16px;
- flex-shrink: 0;
-}
-
-.section {
- padding: 8px 0 4px;
-}
-
-.section-title {
- position: sticky;
- top: 0;
- z-index: 1;
- padding: 6px 20px;
- font-size: 12px;
- background: var(--bg-color);
- text-transform: uppercase;
-}
-
-.no-results {
- display: flex;
- padding: 40px 20px;
- text-align: center;
- align-items: center;
- gap: 5px;
- justify-content: center;
-
- .no-results-icon {
- opacity: 0.5;
- }
-
- p {
- margin: 0;
- font-size: 14px;
- }
-}
</style>
diff --git a/frontend/app/components/CommandCenter/TabNavigation.vue b/frontend/app/components/CommandCenter/TabNavigation.vue
index 0b0e85f3..93fbbd39 100644
--- a/frontend/app/components/CommandCenter/TabNavigation.vue
+++ b/frontend/app/components/CommandCenter/TabNavigation.vue
@@ -14,17 +14,9 @@ interface Tab {
icon: string;
}
-defineProps<{
- activeTab: string;
-}>();
-
-const emit = defineEmits<{
- 'change-tab': [tabId: string];
-}>();
-
-const handleClick = (tabId: string) => {
- emit('change-tab', tabId);
-};
+defineProps<{ activeTab: string }>();
+const emit = defineEmits<{ 'change-tab': [tabId: string] }>();
+const handleClick = (tabId: string) => emit('change-tab', tabId);
const tabs: Tab[] = [
{