diff --git a/css/history_detail/02-layout/layout.css b/css/history_detail/02-layout/layout.css index 6554686..964aa0e 100644 --- a/css/history_detail/02-layout/layout.css +++ b/css/history_detail/02-layout/layout.css @@ -34,7 +34,7 @@ body { display: flex; gap: 1.5rem; /* 大幅增加间距,更现代 */ border-bottom: 1px solid var(--color-border-light); - margin-bottom: 2.5rem; + /* margin-bottom: 2.5rem; */ padding-bottom: 0; } diff --git a/css/history_detail/04-features/markdown-content.css b/css/history_detail/04-features/markdown-content.css index 92c2aff..1ee8de5 100644 --- a/css/history_detail/04-features/markdown-content.css +++ b/css/history_detail/04-features/markdown-content.css @@ -78,7 +78,7 @@ h2 { .history-export-controls { position: relative; - margin-bottom: 16px; + /* margin-bottom: 16px; */ } .export-panel-backdrop { diff --git a/index.html b/index.html index b6ef1fa..6185d08 100644 --- a/index.html +++ b/index.html @@ -1325,7 +1325,7 @@
- diff --git a/js/chatbot/ui/chatbot-ui.js b/js/chatbot/ui/chatbot-ui.js index 3bf8e00..4a54ac5 100644 --- a/js/chatbot/ui/chatbot-ui.js +++ b/js/chatbot/ui/chatbot-ui.js @@ -1222,7 +1222,7 @@ function initChatbotUI() {
-
+
AI 智能助手 diff --git a/js/ui/immersive_layout_logic.js b/js/ui/immersive_layout_logic.js index cd661da..28fc894 100644 --- a/js/ui/immersive_layout_logic.js +++ b/js/ui/immersive_layout_logic.js @@ -734,11 +734,21 @@ simpleToggleBtn.innerHTML = ''; simpleToggleBtn.title = '退出简单沉浸模式'; localStorage.setItem(LS_SIMPLE_IMMERSIVE_KEY, 'true'); + + // 自动进入全屏 + document.documentElement.requestFullscreen().catch(err => { + console.warn('无法进入全屏模式:', err); + }); } else { // 退出简单沉浸模式 document.body.classList.remove('simple-immersive-pdf-mode'); document.body.classList.remove('simple-immersive-pdf-mode'); + // 如果在全屏状态,退出全屏 + if (document.fullscreenElement) { + document.exitFullscreen(); + } + // 恢复container的padding if (mainContainer && mainContainer.dataset.originalPadding !== undefined) { mainContainer.style.padding = mainContainer.dataset.originalPadding; diff --git a/public/pdfjs/web/viewer.css b/public/pdfjs/web/viewer.css index 2be1ecf..48b4077 100644 --- a/public/pdfjs/web/viewer.css +++ b/public/pdfjs/web/viewer.css @@ -2000,7 +2000,7 @@ --doorhanger-icon-opacity: 0.9; --main-color: rgba(12, 12, 13, 1); - --body-bg-color: rgba(212, 212, 215, 1); + --body-bg-color: #f3f4f5; --progressBar-color: rgba(10, 132, 255, 1); --progressBar-bg-color: rgba(221, 221, 222, 1); --progressBar-blend-color: rgba(116, 177, 239, 1); @@ -2011,7 +2011,7 @@ --sidebar-narrow-bg-color: rgba(212, 212, 215, 0.9); --sidebar-toolbar-bg-color: rgba(245, 246, 247, 1); - --toolbar-bg-color: rgba(249, 249, 250, 1); + --toolbar-bg-color: #ffffff; --toolbar-border-color: rgba(184, 184, 184, 1); --toolbar-box-shadow: 0 1px 0 var(--toolbar-border-color); --toolbar-border-bottom: none; @@ -2019,7 +2019,7 @@ rgba(0, 0, 0, 0.25), 0 1px 0 rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1); --toolbarSidebar-border-bottom: none; - --button-hover-color: rgba(221, 222, 223, 1); + --button-hover-color: #e6ecfb; --toggled-btn-color: rgba(0, 0, 0, 1); --toggled-btn-bg-color: rgba(0, 0, 0, 0.3); --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4); @@ -2308,6 +2308,7 @@ body { z-index: 9999; cursor: default; font: message-box; + background-color: var(--toolbar-bg-color); } :is(.toolbar, .editorParamsToolbar, .findbar, #sidebarContainer) @@ -2345,7 +2346,7 @@ body { position: relative; height: 32px; background-color: var(--toolbar-bg-color); - box-shadow: var(--toolbar-box-shadow); + /* box-shadow: var(--toolbar-box-shadow); */ border-bottom: var(--toolbar-border-bottom); } @@ -3181,7 +3182,7 @@ a:is(.toolbarButton, .secondaryToolbarButton)[href="#"] { user-select: none; } #thumbnailView { - width: calc(100% - 60px); + width: 100%; padding: 10px 30px 0; } diff --git a/public/pdfjs/web/viewer.html b/public/pdfjs/web/viewer.html index 5763b86..be1294c 100644 --- a/public/pdfjs/web/viewer.html +++ b/public/pdfjs/web/viewer.html @@ -29,6 +29,9 @@ See https://github.com/adobe-type-tools/cmap-resources + + + @@ -269,19 +272,20 @@ See https://github.com/adobe-type-tools/cmap-resources
- - - -
+