fix(theme): sidebar-toggle定案恒暗色语境(用户2026-09-18纠正)——底透明与top同底(#1e293b)、汉堡线恒#e2e8f0、无边框,不引主题变量切换风格不变
This commit is contained in:
parent
dcfcecd1d1
commit
1da20fad8a
@ -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%; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user