Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick: https://github.com/siyuan-note/siyuan/issues/17384

Vanessaca9529cf6347
diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.css
index fa261e2452..68d096a117 100644
--- a/app/appearance/themes/daylight/theme.css
+++ b/app/appearance/themes/daylight/theme.css
@@ -58,7 +58,7 @@
--b3-list-icon-hover: rgba(33, 34, 36, .1);
/* 菜单 */
- --b3-menu-background: #f9f9fa;
+ --b3-menu-background: var(--b3-theme-background);
/* 提示 */
--b3-tooltips-background: #312f35;
@@ -121,8 +121,8 @@
--b3-highlight-background: #ffff00;
--b3-highlight-current-background: #ff9632;
- /* 下拉菜单 */
- --b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(95, 99, 104, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-theme-background);
+ /* 下拉菜单:底色与菜单保持一致,避免 select 嵌入菜单时出现色块 */
+ --b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(95, 99, 104, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-menu-background);
/* switch */
--b3-switch-background: #e1e3e1;
diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.css
index 0e85fc0a1e..4e9a1c0319 100644
--- a/app/appearance/themes/midnight/theme.css
+++ b/app/appearance/themes/midnight/theme.css
@@ -57,7 +57,7 @@
--b3-list-icon-hover: rgba(201, 209, 217, .1);
/* 菜单 */
- --b3-menu-background: var(--b3-theme-surface);
+ --b3-menu-background: var(--b3-theme-background);
/* 提示 */
--b3-tooltips-background: #030303;
@@ -120,8 +120,8 @@
--b3-highlight-background: #ffff00;
--b3-highlight-current-background: #ff9632;
- /* 下拉菜单 */
- --b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(154, 160, 166, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-theme-background);
+ /* 下拉菜单:底色与菜单保持一致,避免 select 嵌入菜单时出现色块 */
+ --b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(154, 160, 166, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-menu-background);
/* switch */
--b3-switch-background: #444746;
diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss
index b029866c94..863320ae2b 100644
--- a/app/src/assets/scss/business/_av.scss
+++ b/app/src/assets/scss/business/_av.scss
@@ -1027,13 +1027,6 @@
margin-bottom: 0;
}
- // 筛选面板内的下拉/输入控件统一为菜单底色(与面板背景融合)
- .av__filter-row .b3-select,
- .av__filter-row .b3-text-field--text,
- .av__filter-group-left .b3-select {
- background-color: var(--b3-menu-background);
- }
-
.av__field-wrapper {
display: flex;
align-items: center;