diff --git a/frontend/src/assets/dropdown-menu.less b/frontend/src/assets/dropdown-menu.less index f657d223..4c7ca3e5 100644 --- a/frontend/src/assets/dropdown-menu.less +++ b/frontend/src/assets/dropdown-menu.less @@ -396,14 +396,80 @@ } /* ============================================ - 五、暗色模式增强 + 五、锚定表单/确认弹层(成员邀请、Wiki 移动/删除等) + ============================================ */ +.anchored-form-popup-overlay { + z-index: 3500 !important; + + .t-popup__content { + padding: 14px 16px !important; + min-width: 300px; + max-width: min(392px, calc(100vw - 24px)); + border-radius: 12px !important; + background: var(--td-bg-color-container) !important; + border: 0.5px solid var(--td-component-stroke) !important; + box-shadow: + 0 0 0 0.5px rgba(0, 0, 0, 0.03), + 0 2px 4px rgba(0, 0, 0, 0.04), + 0 8px 24px rgba(0, 0, 0, 0.1) !important; + backdrop-filter: blur(20px) saturate(180%) !important; + -webkit-backdrop-filter: blur(20px) saturate(180%) !important; + } +} + +.anchored-form-popup-inner { + max-width: 100%; +} + +.anchored-form-popup-title { + font-size: 15px; + font-weight: 600; + color: var(--td-text-color-primary); + margin: 0 0 12px; + line-height: 1.35; +} + +.anchored-form-popup-body { + padding: 0 0 4px; + color: var(--td-text-color-primary); + font-size: 14px; + line-height: 1.6; + word-break: break-word; +} + +.anchored-form-popup-footer { + display: flex; + justify-content: flex-end; + gap: 8px; + margin-top: 16px; +} + +// Standalone card (teleport / fixed anchor) — same visual tokens as overlay above. +.anchored-form-popup-card { + padding: 14px 16px; + min-width: 300px; + max-width: min(392px, calc(100vw - 24px)); + border-radius: 12px; + background: var(--td-bg-color-container); + border: 0.5px solid var(--td-component-stroke); + box-shadow: + 0 0 0 0.5px rgba(0, 0, 0, 0.03), + 0 2px 4px rgba(0, 0, 0, 0.04), + 0 8px 24px rgba(0, 0, 0, 0.1); + backdrop-filter: blur(20px) saturate(180%); + -webkit-backdrop-filter: blur(20px) saturate(180%); +} + +/* ============================================ + 六、暗色模式增强 ============================================ */ :root[theme-mode="dark"] { .card-more-popup .t-popup__content, .card-more .t-popup__content, .tag-more-popup .t-popup__content, - .card-tag-popup .t-popup__content { - background: rgba(36, 36, 36, 0.85) !important; + .card-tag-popup .t-popup__content, + .anchored-form-popup-overlay .t-popup__content { + background: rgba(36, 36, 36, 0.92) !important; border-color: rgba(255, 255, 255, 0.08) !important; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.05), @@ -411,6 +477,15 @@ 0 8px 32px rgba(0, 0, 0, 0.28) !important; } + .anchored-form-popup-card { + background: rgba(36, 36, 36, 0.92); + border-color: rgba(255, 255, 255, 0.08); + box-shadow: + 0 0 0 0.5px rgba(255, 255, 255, 0.05), + 0 2px 4px rgba(0, 0, 0, 0.12), + 0 8px 32px rgba(0, 0, 0, 0.28); + } + .t-popup__content .t-dropdown__menu { background: rgba(36, 36, 36, 0.85); border-color: rgba(255, 255, 255, 0.08); diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.ts index 113e151f..b145dac9 100755 --- a/frontend/src/i18n/locales/en-US.ts +++ b/frontend/src/i18n/locales/en-US.ts @@ -2541,6 +2541,7 @@ export default { moveFolderFailed: 'Failed to move folder', moveFolderIntoSelf: 'Cannot move a folder into itself or its descendant', moveConfirm: 'Move to "{target}"?', + moveConfirmTitle: 'Confirm move', rootFolderLabel: 'Root', dropToRoot: 'Drop here to move to root', filterSummary: 'Summaries', diff --git a/frontend/src/i18n/locales/ko-KR.ts b/frontend/src/i18n/locales/ko-KR.ts index 693aa43c..369369ba 100755 --- a/frontend/src/i18n/locales/ko-KR.ts +++ b/frontend/src/i18n/locales/ko-KR.ts @@ -3400,6 +3400,7 @@ export default { moveFolderFailed: "디렉터리 이동 실패", moveFolderIntoSelf: "디렉터리를 자기 자신이나 하위 디렉터리로 이동할 수 없습니다", moveConfirm: "'{target}'(으)로 이동할까요?", + moveConfirmTitle: "이동 확인", rootFolderLabel: "루트", dropToRoot: "여기에 놓아 루트로 이동", filterSummary: "요약", diff --git a/frontend/src/i18n/locales/ru-RU.ts b/frontend/src/i18n/locales/ru-RU.ts index af534666..1ec38307 100755 --- a/frontend/src/i18n/locales/ru-RU.ts +++ b/frontend/src/i18n/locales/ru-RU.ts @@ -2905,6 +2905,7 @@ export default { moveFolderFailed: 'Не удалось переместить каталог', moveFolderIntoSelf: 'Нельзя переместить каталог в себя или свой подкаталог', moveConfirm: 'Переместить в «{target}»?', + moveConfirmTitle: 'Подтвердить перемещение', rootFolderLabel: 'Корень', dropToRoot: 'Перетащите сюда, чтобы переместить в корень', filterSummary: 'Резюме', diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts index d596b3d0..0ec10249 100755 --- a/frontend/src/i18n/locales/zh-CN.ts +++ b/frontend/src/i18n/locales/zh-CN.ts @@ -3405,6 +3405,7 @@ export default { moveFolderFailed: "移动目录失败", moveFolderIntoSelf: "不能将目录移动到自身或其子目录中", moveConfirm: "移动到「{target}」?", + moveConfirmTitle: "确认移动", rootFolderLabel: "根目录", dropToRoot: "拖到空白处移动到根目录", filterSummary: "摘要", diff --git a/frontend/src/views/knowledge/wiki/WikiBrowser.vue b/frontend/src/views/knowledge/wiki/WikiBrowser.vue index e1584fe3..97a2b4a0 100644 --- a/frontend/src/views/knowledge/wiki/WikiBrowser.vue +++ b/frontend/src/views/knowledge/wiki/WikiBrowser.vue @@ -9,33 +9,17 @@
- -
+ +
-
+
- {{ $t('knowledgeEditor.wikiBrowser.globalIssuesCount', { count: stats.pending_issues }) }} + {{ $t('knowledgeEditor.wikiBrowser.globalIssuesCount', { + count: + stats.pending_issues + }) + }}
-
+
{{ $t('knowledgeEditor.wikiBrowser.filterSummary') }}
-
+
{{ $t('knowledgeEditor.wikiBrowser.filterEntity') }}
-
+
{{ $t('knowledgeEditor.wikiBrowser.filterConcept') }}
-
+
{{ $t('knowledgeEditor.wikiBrowser.filterSynthesis') }}
-
+
{{ $t('knowledgeEditor.wikiBrowser.filterComparison') }}
@@ -109,14 +83,12 @@
- {{ showArrows ? $t('knowledgeEditor.wikiBrowser.hideArrows') : $t('knowledgeEditor.wikiBrowser.showArrows') }} + {{ showArrows ? $t('knowledgeEditor.wikiBrowser.hideArrows') : + $t('knowledgeEditor.wikiBrowser.showArrows') + }}
-
+
{{ $t('knowledgeEditor.wikiBrowser.growFrontier', { count: graphFrontierCount }) }}
@@ -146,54 +118,40 @@
-

{{ graphLoading ? $t('knowledgeEditor.wikiBrowser.graphEmpty') : $t('knowledgeEditor.wikiBrowser.graphNoData') }}

+

{{ graphLoading ? $t('knowledgeEditor.wikiBrowser.graphEmpty') : + $t('knowledgeEditor.wikiBrowser.graphNoData') }}

- +
@@ -206,20 +164,21 @@
- {{ $t('knowledgeEditor.wikiBrowser.queueStatus', { count: stats.pending_tasks || 0 }) }} + {{ $t('knowledgeEditor.wikiBrowser.queueStatus', { + count: stats.pending_tasks || 0 + }) }}
-
+
- {{ $t('knowledgeEditor.wikiBrowser.globalIssuesCount', { count: stats.pending_issues }) }} + {{ $t('knowledgeEditor.wikiBrowser.globalIssuesCount', { + count: + stats.pending_issues + }) }}
- +
@@ -228,12 +187,8 @@
{{ $t('knowledgeEditor.wikiBrowser.aliases') }}: - + {{ alias }}
@@ -490,14 +431,14 @@ {{ getTypeLabel(selectedPage.page_type) }} - {{ $t('knowledgeEditor.wikiBrowser.version', { ver: selectedPage.version }) }} + {{ $t('knowledgeEditor.wikiBrowser.version', { + ver: + selectedPage.version + }) + }} {{ formatDate(selectedPage.updated_at) }} - + {{ $t('knowledgeEditor.wikiBrowser.viewInGraph') }} @@ -510,28 +451,19 @@ {{ $t('knowledgeEditor.wikiBrowser.linkedFrom') }} - {{ slugDisplayName(link) }} + {{ slugDisplayName(link) }}
-
+
+
{{ $t('knowledgeEditor.wikiBrowser.sources') }} - + {{ ref.title }} @@ -558,12 +490,8 @@

{{ $t('knowledgeEditor.wikiBrowser.logLoading') }}