From 68b36042ce2ec001fbc651328b2eba1028ff5a4d Mon Sep 17 00:00:00 2001 From: binary-husky Date: Tue, 25 Jun 2024 05:32:20 +0000 Subject: [PATCH] re-locate plugin --- crazy_functional.py | 10 +++++++++- themes/default.css | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/crazy_functional.py b/crazy_functional.py index 0e874f712..616954da1 100644 --- a/crazy_functional.py +++ b/crazy_functional.py @@ -88,10 +88,18 @@ def get_crazy_functions(): "Function": None, "Class": Mermaid_Gen }, - "批量总结Word文档": { + "Arxiv论文翻译": { "Group": "学术", "Color": "stop", "AsButton": True, + "Info": "Arixv论文精细翻译 | 输入参数arxiv论文的ID,比如1812.10695", + "Function": HotReload(Latex翻译中文并重新编译PDF), # 当注册Class后,Function旧接口仅会在“虚空终端”中起作用 + "Class": Arxiv_Localize, # 新一代插件需要注册Class + }, + "批量总结Word文档": { + "Group": "学术", + "Color": "stop", + "AsButton": False, "Info": "批量总结word文档 | 输入参数为路径", "Function": HotReload(总结word文档), }, diff --git a/themes/default.css b/themes/default.css index 5a9e3ea7a..4b1434042 100644 --- a/themes/default.css +++ b/themes/default.css @@ -24,8 +24,8 @@ /* 小按钮 */ #basic-panel .sm { font-family: "Microsoft YaHei UI", "Helvetica", "Microsoft YaHei", "ui-sans-serif", "sans-serif", "system-ui"; - --button-small-text-weight: 600; - --button-small-text-size: 16px; + --button-small-text-weight: 400; + --button-small-text-size: 14px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-right-radius: 6px;