fix: 禁用按钮保留 hover 提示,提高 think 禁用态可见度

This commit is contained in:
Metona
2026-04-04 21:35:22 +08:00
parent d82455b079
commit d61764a5e9
+7 -5
View File
@@ -228,11 +228,13 @@ body::before {
.icon-btn.disabled, .icon-btn.disabled,
.icon-btn:disabled { .icon-btn:disabled {
opacity: 0.3; opacity: 0.4;
cursor: not-allowed; cursor: not-allowed;
transform: none; transform: none;
box-shadow: none; box-shadow: 0 0 8px rgba(239, 68, 68, 0.2);
pointer-events: none; border: 1px dashed rgba(239, 68, 68, 0.4);
background: rgba(239, 68, 68, 0.08);
color: rgba(255, 255, 255, 0.5);
} }
.icon-btn:active { .icon-btn:active {
@@ -419,12 +421,12 @@ body::before {
} }
.think-toggle.unavailable .think-btn { .think-toggle.unavailable .think-btn {
opacity: 0.3; opacity: 0.5;
cursor: not-allowed; cursor: not-allowed;
} }
.think-toggle.unavailable .think-btn svg { .think-toggle.unavailable .think-btn svg {
stroke: var(--text-muted); stroke: var(--text-secondary);
} }
/* ── 开关控件 ── */ /* ── 开关控件 ── */