fix: auto-start test mode on boot if config says on; Miuix toggle switch style

This commit is contained in:
2026-07-26 18:26:29 +08:00
parent ff0abce5c0
commit cd2106dbf8
3 changed files with 12 additions and 1 deletions
+8
View File
@@ -519,6 +519,14 @@
.forward-toggle input { margin-right: 4px; }
/* HyperOS Toggle Switch */
.switch-label { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.switch-label input { display: none; }
.switch-track { position: relative; width: 44px; height: 26px; background: var(--bg-tertiary); border-radius: 13px; border: 1px solid var(--border-normal); transition: background .2s, border-color .2s; flex-shrink: 0; }
.switch-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.switch-label input:checked + .switch-track { background: var(--accent); border-color: var(--accent); }
.switch-label input:checked + .switch-track::after { transform: translateX(18px); }
/* ===== Debug Page ===== */
.debug-container {
display: flex;