优化布局

This commit is contained in:
CN-JS-HuiBai
2026-04-12 17:51:40 +08:00
parent e60fa2b982
commit 24b5f8455e
2 changed files with 15 additions and 29 deletions

View File

@@ -2805,15 +2805,12 @@ input:checked+.slider:before {
}
/* ---- Source Settings Toggles ---- */
.source-options-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 16px;
background: rgba(255, 255, 255, 0.03);
padding: 16px;
border-radius: var(--radius-sm);
border: 1px solid var(--border-color);
margin-top: 8px;
/* ---- Source Settings Toggles ---- */
.source-options-clean-row {
display: flex;
flex-wrap: wrap;
gap: 20px;
padding: 4px 0;
}
.source-option-item {
@@ -2823,12 +2820,6 @@ input:checked+.slider:before {
cursor: pointer;
user-select: none;
transition: all 0.2s ease;
padding: 4px 8px;
border-radius: var(--radius-sm);
}
.source-option-item:hover {
background: rgba(255, 255, 255, 0.03);
}
.source-option-item:hover .source-option-label {
@@ -2836,7 +2827,7 @@ input:checked+.slider:before {
}
.source-option-label {
font-size: 0.88rem;
font-size: 0.9rem;
color: var(--text-secondary);
font-weight: 500;
}
@@ -2889,14 +2880,6 @@ input:checked+.slider:before {
}
/* Light theme support */
:root.light-theme .source-options-grid {
background: rgba(0, 0, 0, 0.02);
}
:root.light-theme .source-option-item:hover {
background: rgba(0, 0, 0, 0.03);
}
:root.light-theme .switch-label:before {
background-color: #94a3b8;
}