diff --git a/bricks/css/bricks.css b/bricks/css/bricks.css index 2b9b857..82b7e58 100755 --- a/bricks/css/bricks.css +++ b/bricks/css/bricks.css @@ -691,16 +691,15 @@ html[data-theme="dark"] { transform: rotate(90deg); } -/* 侧栏折叠图标主题感知(2026-09-18 用户要求前后色分风格): - glyph 文本隐藏,改画汉堡线 + 主题感知底色 chip—— - 亮色=浅底(#fff)+深线(--ink-1),暗色=深底(#1E293B)+浅线(--ink-0), - 顶栏恒深色下两主题都高对比;不再靠 JS 换字符 */ +/* 侧栏折叠图标(2026-09-18 用户定案):顶栏恒深色,按钮保持暗色语境—— + 底色透明(与 top 同底,不出现亮色 chip)、汉堡线恒浅色、边框无, + 切换主题风格不变(不引用任何主题变量) */ .sidebar-toggle { color: transparent !important; position: relative; - background-color: var(--surface-card) !important; + background-color: transparent !important; + border: none !important; border-radius: 6px !important; - border: 1px solid var(--line) !important; } .sidebar-toggle::before, .sidebar-toggle::after { @@ -710,8 +709,7 @@ html[data-theme="dark"] { right: 22%; height: 2px; border-radius: 1px; - background-color: var(--ink-1); - transition: background-color .2s ease; + background-color: #e2e8f0; } .sidebar-toggle::before { top: 32%; } .sidebar-toggle::after { top: 60%; }