156 lines
2.6 KiB
CSS
156 lines
2.6 KiB
CSS
.settings {
|
|
padding: 1rem;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.heading {
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1.5rem;
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
.loading {
|
|
padding: 2rem;
|
|
text-align: center;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
|
|
.error {
|
|
padding: 0.5rem 0.75rem;
|
|
background: #fde8e8;
|
|
color: var(--color-error, #d32f2f);
|
|
border-radius: 6px;
|
|
margin-bottom: 1rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.success {
|
|
padding: 0.5rem 0.75rem;
|
|
background: #e8f5e9;
|
|
color: #2e7d32;
|
|
border-radius: 6px;
|
|
margin-bottom: 1rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.section {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.sectionTitle {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 0.75rem;
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
.field {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.label {
|
|
display: block;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
margin-bottom: 0.3rem;
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
.select, .input {
|
|
width: 100%;
|
|
padding: 0.5rem 0.75rem;
|
|
border: 1px solid var(--border-color, #ddd);
|
|
border-radius: 6px;
|
|
font-size: 0.9rem;
|
|
background: var(--bg-input, #fff);
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
.voiceRow {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.voiceRow .select {
|
|
flex: 1;
|
|
}
|
|
|
|
.testBtn {
|
|
padding: 0.5rem 1rem;
|
|
background: var(--primary-color, #F25843);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.testBtn:hover:not(:disabled) { filter: brightness(1.08); }
|
|
.testBtn:disabled {
|
|
background: var(--color-medium-gray, #ccc);
|
|
color: var(--text-secondary, #888);
|
|
cursor: not-allowed;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.checkboxLabel {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
.checkboxLabel input[type="checkbox"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.statsGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.statItem {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 0.75rem;
|
|
background: var(--bg-card, #fff);
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.statValue {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color, #F25843);
|
|
}
|
|
|
|
.statLabel {
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
|
|
.saveBtn {
|
|
width: 100%;
|
|
padding: 0.6rem;
|
|
background: var(--primary-color, #F25843);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.saveBtn:hover:not(:disabled) { filter: brightness(1.08); }
|
|
.saveBtn:disabled {
|
|
background: var(--color-medium-gray, #ccc);
|
|
color: var(--text-secondary, #888);
|
|
cursor: not-allowed;
|
|
opacity: 0.8;
|
|
}
|