From f0b5a98cf8e12f8c96f1a352df23aa533c23d956 Mon Sep 17 00:00:00 2001 From: x1ao4 Date: Tue, 23 Dec 2025 17:33:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E6=A8=A1=E6=80=81=E6=A1=86=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E6=B7=BB=E5=8A=A0=E5=8F=96=E6=B6=88=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 "选择需转存的文件夹"、"选择保存到的文件夹"、"选择起始文件" 模态框添加取消按钮 - 为 "剧集/顺序/正则命名预览" 模态框(创建/编辑任务模式)添加 footer 和取消按钮 - 统一所有取消按钮样式和格式,与编辑任务模态框保持一致 - 确保取消按钮始终位于右下角第一个位置(在 "上一个/下一个" 按钮之前) - 添加通用CSS样式,确保样式一致性 --- app/static/css/main.css | 13 +++++++++++++ app/templates/index.html | 22 ++++++++++++++++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/app/static/css/main.css b/app/static/css/main.css index b8e354e..c6c5386 100644 --- a/app/static/css/main.css +++ b/app/static/css/main.css @@ -5946,6 +5946,19 @@ body .selectable-files tr.selected-file:has([style*="white-space: normal"]) .fil color: var(--dark-text-color) !important; } +/* 文件选择模态框的取消按钮样式(通用样式,覆盖所有情况) */ +#fileSelectModal .modal-footer .btn-cancel { + background-color: var(--button-gray-background-color) !important; + border-color: var(--button-gray-background-color) !important; + color: var(--dark-text-color) !important; +} + +#fileSelectModal .modal-footer .btn-cancel:hover { + background-color: #e0e2e6 !important; + border-color: #e0e2e6 !important; + color: var(--dark-text-color) !important; +} + /* --------------- 模态框层级管理 --------------- */ /* 当从创建任务模态框中打开文件选择模态框时,确保文件选择模态框显示在上层 */ #createTaskModal.show ~ #fileSelectModal { diff --git a/app/templates/index.html b/app/templates/index.html index 32cc6a3..4f57769 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -2701,6 +2701,7 @@ 共 {{ fileSelect.fileList.length }} 个项目,已选中 {{ fileSelect.selectedFiles.length }} 个项目 +
- + + +