Add: setting window for tauri - bugs not fixed yet

This commit is contained in:
DaZuo0122
2026-02-14 13:21:56 +08:00
parent 907974e61f
commit 901bf0ffc3
13 changed files with 1105 additions and 96 deletions

View File

@@ -73,3 +73,76 @@ dd {
color: #fee2e2;
font-size: 12px;
}
.settings-root {
min-height: 100vh;
display: flex;
align-items: stretch;
justify-content: center;
background: linear-gradient(180deg, #f1f5f9 0%, #dbe4ee 100%);
color: #0f172a;
user-select: none;
}
.settings-card {
width: 100%;
max-width: 480px;
margin: 0;
padding: 20px;
display: grid;
gap: 14px;
align-content: start;
}
.settings-card h1 {
margin: 0;
font-size: 24px;
}
.settings-subtitle {
margin: 0;
color: #334155;
font-size: 13px;
}
.settings-error {
margin: 0;
color: #991b1b;
background: #fee2e2;
border: 1px solid #fca5a5;
padding: 8px 10px;
border-radius: 8px;
font-size: 13px;
}
.field {
display: grid;
gap: 8px;
}
.field span {
font-size: 13px;
font-weight: 600;
color: #1e293b;
}
.field select,
.field input[type="range"] {
width: 100%;
}
.field select {
border: 1px solid #94a3b8;
border-radius: 8px;
padding: 8px 10px;
background: #ffffff;
color: #0f172a;
}
.toggle {
display: flex;
align-items: center;
gap: 10px;
font-size: 14px;
color: #1e293b;
}